Skip to contentSkip to conversation

qga: Add missing 'static' attribute

PATCH Applied Stefan Weil 2 participants 2 messages Jul 7, 2014 – Jul 18, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qga: Add missing 'static' attribute

This fixes a warning from the static code analysis (smatch).

---
 qga/commands-posix.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qga/commands-posix.c +1 -1
index 34ddba0..8e6272c 100644
@@ -643,7 +643,7 @@ typedef enum {
     FSFREEZE_HOOK_FREEZE,
 } FsfreezeHookArg;
 
-const char *fsfreeze_hook_arg_string[] = {
+static const char *fsfreeze_hook_arg_string[] = {
     "thaw",
     "freeze",
 };
Signature · 1 line
1.7.10.4