mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +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)))
|
||||
return NULL;
|
||||
|
||||
if (flags_class == NULL)
|
||||
return NULL;
|
||||
|
||||
str = g_string_new (NULL);
|
||||
|
||||
while ((str->len == 0 || value != 0) &&
|
||||
|
||||
Reference in New Issue
Block a user