diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2016-10-12 16:52:49 +0200 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2016-10-12 16:52:49 +0200 |
commit | 2a2800b528010320ca504a39106806ec21f02203 (patch) | |
tree | 04b79830760a3f206497d64c8b21d777dde0c149 | |
parent | e6687c11f25c9f6358676bb2aff0781bebf1ac79 (diff) | |
download | rockbox-2a2800b528010320ca504a39106806ec21f02203.tar.gz rockbox-2a2800b528010320ca504a39106806ec21f02203.zip |
pdbox: fix bug shown by new gcc warning
Change-Id: Ife308a3090f9bc62f2e98d2d979fdf393c22054d
-rw-r--r-- | apps/plugins/pdbox/PDa/src/g_template.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/src/g_template.c b/apps/plugins/pdbox/PDa/src/g_template.c index 0245158fce..f2770d4d5f 100644 --- a/apps/plugins/pdbox/PDa/src/g_template.c +++ b/apps/plugins/pdbox/PDa/src/g_template.c | |||
@@ -630,7 +630,9 @@ static void *gtemplate_new(t_symbol *s, int argc, t_atom *argv) | |||
630 | (void) s; | 630 | (void) s; |
631 | #endif | 631 | #endif |
632 | if (argc >= 1) | 632 | if (argc >= 1) |
633 | { | ||
633 | argc--; argv++; | 634 | argc--; argv++; |
635 | } | ||
634 | return (gtemplate_donew(canvas_makebindsym(sym), argc, argv)); | 636 | return (gtemplate_donew(canvas_makebindsym(sym), argc, argv)); |
635 | } | 637 | } |
636 | 638 | ||