Browse files

Merge pull request #73 from xgoat/master

Fix an unused parameter compiler warning
  • Loading branch information...
2 parents b0a477d + b014aeb commit 419b33f6ef295a05aa4499b1ceae3d8ba09aa75c @texane texane committed Apr 23, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/test_sg.c
View
2 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) {

0 comments on commit 419b33f

Please sign in to comment.