Skip to content

Commit

Permalink
Fix compilation warning for GCC 7, fixes #590
Browse files Browse the repository at this point in the history
  • Loading branch information
atu-guda authored and xor-gate committed May 8, 2017
1 parent cc3a570 commit 5c10d4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gdbserver/gdb-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -1640,6 +1640,7 @@ int serve(stlink_t *sl, st_state_t *st) {
break;
}
}
break;

default:
reply = strdup("");
Expand All @@ -1662,6 +1663,7 @@ int serve(stlink_t *sl, st_state_t *st) {
case '4' : // remove access watchpoint
if(delete_data_watchpoint(sl, addr) < 0) {
reply = strdup("E00");
break;
} else {
reply = strdup("OK");
break;
Expand Down

0 comments on commit 5c10d4b

Please sign in to comment.