GNOME Bugzilla – Bug 787262
src/totem-grilo.c:1746: pointless code ?
Last modified: 2017-09-08 15:18:27 UTC
../src/totem-grilo.c:1746] -> [../src/totem-grilo.c:1747]: (warning) Opposite inner 'if' condition leads to a dead code block. Source code is for (i = 0; list[i] != NULL; i++) { if (list[i] == NULL) continue; Suggest remove pointless if condition.
The following fix has been pushed: 5610a37 grilo: Drop redundant if-statement
Created attachment 359404 [details] [review] grilo: Drop redundant if-statement As spotted by dcb. https://bugzilla.gnome.org/show_bug.cgi?id=787262 Signed-off-by: Philip Withnall <withnall@endlessm.com>