eval-test: make table static const
authorMans Rullgard <mans@mansr.com>
Fri, 12 Oct 2012 18:35:11 +0000 (19:35 +0100)
committerMans Rullgard <mans@mansr.com>
Sat, 13 Oct 2012 10:39:25 +0000 (11:39 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavutil/eval.c

index 9d17930..7a28dbe 100644 (file)
@@ -564,7 +564,8 @@ int main(int argc, char **argv)
 {
     int i;
     double d;
-    const char **expr, *exprs[] = {
+    const char *const *expr;
+    static const char *const exprs[] = {
         "",
         "1;2",
         "-20",