Commit 44fbce82 authored by mru's avatar mru

Replace some printf() with puts() in tableprint.c

This gets rid of a gcc warning about non-literal format strings.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22402 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 76771e9e
...@@ -65,10 +65,10 @@ int main(int argc, char *argv[]) ...@@ -65,10 +65,10 @@ int main(int argc, char *argv[])
tableinit(); tableinit();
for (i = 0; tables[i].declaration; i++) { for (i = 0; tables[i].declaration; i++) {
printf(tables[i].declaration); puts(tables[i].declaration);
printf(" = {\n"); puts(" = {\n");
tables[i].printfunc(tables[i].data, tables[i].size, tables[i].size2); tables[i].printfunc(tables[i].data, tables[i].size, tables[i].size2);
printf("};\n"); puts("};\n");
} }
return 0; return 0;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment