forked from Mirrors/flatpak-builder
builder/utils: Remove an unnecessary if-condition
We unconditionally allocate s above, so it can’t be NULL. Coverity issue: 1376586 Signed-off-by: Philip Withnall <withnall@endlessm.com>tingping/wmclass
parent
0cd65edc8b
commit
ecbf42d7fa
|
@ -765,8 +765,7 @@ handle_dwarf2_line (DebuginfoData *data, uint32_t off, char *comp_dir, GHashTabl
|
|||
}
|
||||
canonicalize_path (s, s);
|
||||
|
||||
if (s)
|
||||
g_hash_table_insert (files, s, NULL);
|
||||
g_hash_table_insert (files, s, NULL);
|
||||
|
||||
(void) read_uleb128 (ptr);
|
||||
(void) read_uleb128 (ptr);
|
||||
|
|
Loading…
Reference in New Issue