Skip to content

Commit

Permalink
trivial: dell: ignore a false positve for stringop-overread
Browse files Browse the repository at this point in the history
  • Loading branch information
superm1 authored and hughsie committed Apr 23, 2022
1 parent a586d0c commit bb6eed2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/dell/fu-dell-smi.c
Expand Up @@ -74,6 +74,8 @@ fu_dell_get_res(FuDellSmiObj *smi_obj, guint8 arg)
return dell_smi_obj_get_res(smi_obj->smi, arg);
}

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstringop-overread"
gboolean
fu_dell_execute_simple_smi(FuDellSmiObj *obj, guint16 class, guint16 select)
{
Expand All @@ -87,6 +89,7 @@ fu_dell_execute_simple_smi(FuDellSmiObj *obj, guint16 class, guint16 select)
}
return TRUE;
}
#pragma GCC diagnostic pop

gboolean
fu_dell_detect_dock(FuDellSmiObj *smi_obj, guint32 *location)
Expand Down

0 comments on commit bb6eed2

Please sign in to comment.