projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb9e751
)
render-test: Fix invocation of tab_footnote().
author
Friedrich Beckmann
<friedrich.beckmann@gmx.de>
Sun, 28 Sep 2014 23:46:07 +0000
(16:46 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 28 Sep 2014 23:47:25 +0000
(16:47 -0700)
Fixes this GCC warning:
tests/output/render-test.c: In function ‘read_table’:
tests/output/render-test.c:491:19: error: format not a string literal and
no format arguments [-Werror=format-security]
tests/output/render-test.c
patch
|
blob
|
history
diff --git
a/tests/output/render-test.c
b/tests/output/render-test.c
index 0d6f9684f30a6f87457f06105b7519a4b4bd5155..8ce0697910537194d450a09809ef73a2fd3079e9 100644
(file)
--- a/
tests/output/render-test.c
+++ b/
tests/output/render-test.c
@@
-488,7
+488,7
@@
read_table (FILE *stream, struct table **tables, size_t n_tables)
tab_joint_text (tab, c, r, c + cs - 1, r + rs - 1, opt,
content);
else
- tab_footnote (tab, c, r, content);
+ tab_footnote (tab, c, r,
"%s",
content);
}
}