projects
/
fw
/
stlink
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
b0a477d
)
Merge pull request #73 from xgoat/master
author
texane
<texane@gmail.com>
Tue, 24 Apr 2012 05:16:12 +0000
(22:16 -0700)
committer
texane
<texane@gmail.com>
Tue, 24 Apr 2012 05:16:12 +0000
(22:16 -0700)
Fix an unused parameter compiler warning
src/test_sg.c
patch
|
blob
|
history
diff --git
a/src/test_sg.c
b/src/test_sg.c
index 357f4366523fe5e4d4788a9bf3d7739c38685860..51b0f074ca6f3dbc0c14c7683a67c026f6896733 100644
(file)
--- a/
src/test_sg.c
+++ b/
src/test_sg.c
@@
-33,6
+33,8
@@
static void __attribute__((unused)) mark_buf(stlink_t *sl) {
int main(int argc, char *argv[]) {
+ /* Avoid unused parameter warning */
+ (void)argv;
// set scpi lib debug level: 0 for no debug info, 10 for lots
switch (argc) {