mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 23:51:06 +00:00
sysprof: remove redundant NULL check
This commit is contained in:
@ -92,9 +92,6 @@ flags_to_string (GType type,
|
|||||||
if (!(flags_class = g_type_class_ref (type)))
|
if (!(flags_class = g_type_class_ref (type)))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (flags_class == NULL)
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
str = g_string_new (NULL);
|
str = g_string_new (NULL);
|
||||||
|
|
||||||
while ((str->len == 0 || value != 0) &&
|
while ((str->len == 0 || value != 0) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user