summaryrefslogtreecommitdiffhomepage
path: root/examples/queue.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-09-14 11:43:15 +0200
committerTyge Løvset <[email protected]>2020-09-14 11:43:15 +0200
commitab21f83c4af4f2b628ce36ad03f5c78fbb11a06a (patch)
tree900c1ba2db1f861ceca40a3e37a3e644aeaee954 /examples/queue.c
parent1dd8d2ef2b5fd86bd500ab01c52f7e4a3bd9df60 (diff)
downloadSTC-modified-ab21f83c4af4f2b628ce36ad03f5c78fbb11a06a.tar.gz
STC-modified-ab21f83c4af4f2b628ce36ad03f5c78fbb11a06a.zip
Removed warnings. clang, vs.
Diffstat (limited to 'examples/queue.c')
-rw-r--r--examples/queue.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/queue.c b/examples/queue.c
index 25aefd09..5bac7535 100644
--- a/examples/queue.c
+++ b/examples/queue.c
@@ -26,7 +26,6 @@ int main() {
else
--n, cqueue_i_pop(&queue);
}
- printf("%d\n", n);
- printf("%zu\n", n, cqueue_i_size(queue));
+ printf("%d, %zu\n", n, cqueue_i_size(queue));
cqueue_i_destroy(&queue);
}