Mercurial > geeqie
diff src/utilops.c @ 1367:fe4da037be21
When g_new0() is used, drop redundant initializations to NULL, FALSE or 0, second pass.
author | zas_ |
---|---|
date | Sun, 01 Mar 2009 23:14:19 +0000 |
parents | deb0876c29d2 |
children | 67573155210c |
line wrap: on
line diff
--- a/src/utilops.c Sun Mar 01 21:35:18 2009 +0000 +++ b/src/utilops.c Sun Mar 01 23:14:19 2009 +0000 @@ -341,11 +341,12 @@ UtilityData *ud; ud = g_new0(UtilityData, 1); + ud->type = type; ud->phase = UTILITY_PHASE_START; ud->update_idle_id = -1; ud->perform_idle_id = -1; - ud->external_command = NULL; + return ud; }