diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-01-25 16:17:55 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-25 16:28:37 -0800 |
commit | 3f261f56f3401695d0577598624dddc09243b371 (patch) | |
tree | 65826e8fb34827a2bb4a417ef5595023610d595c /gtk-gui.c | |
parent | 3ab27e65e8086199d6d23f0bd5d6f5a22b37a349 (diff) | |
download | subsurface-3f261f56f3401695d0577598624dddc09243b371.tar.gz |
Remove some unnecessary variable initializations
Not really bugs, just wasted. They clutter up the output of static
analysis with cppcheck.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r-- | gtk-gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1173,7 +1173,7 @@ static void cell_edited_cb(GtkCellRendererText *cell, gchar *path, holdnicknames->nickname = strdup(new_text); holdnicknames->next = NULL; } else { - struct device_info * top = NULL; + struct device_info * top; struct device_info * last = holdnicknames; top = (struct device_info *) malloc(sizeof( struct device_info )); top->model = strdup(model); |