]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Cosmetics: save some space
authorMichael Schroeder <mls@suse.de>
Fri, 7 Sep 2018 14:29:29 +0000 (16:29 +0200)
committerMichael Schroeder <mls@suse.de>
Fri, 7 Sep 2018 14:29:29 +0000 (16:29 +0200)
src/strpool.c

index 5e8791830d94457e03b7f62648dbb419059ecae9..b4a09a51d7d816b3797fac96088f89c3d7e2389e 100644 (file)
@@ -56,11 +56,7 @@ stringpool_freehash(Stringpool *ss)
 void
 stringpool_init_empty(Stringpool *ss)
 {
-  const char *emptystrs[] = {
-    "<NULL>",
-    "",
-    0,
-  };
+  static const char *emptystrs[] = { "<NULL>", "", 0 };
   stringpool_init(ss, emptystrs);
 }