summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7649330)
"ret" is set in the first statement after the declarations.
Found by cppcheck.
static int mm_year_parser(int argc, char **argv, void **private)
{
static int mm_year_parser(int argc, char **argv, void **private)
{
- int ret = -E_MOOD_SYNTAX;
struct mm_year_data *mmyd = para_malloc(sizeof(*mmyd));
time_t current_time;
struct tm *gmt;
struct mm_year_data *mmyd = para_malloc(sizeof(*mmyd));
time_t current_time;
struct tm *gmt;