kopia lustrzana https://github.com/stlink-org/stlink
[fix] gdb-server unused variable
rodzic
902f3a7e70
commit
6463c75a4b
|
@ -639,8 +639,9 @@ int serve(stlink_t *sl, int port) {
|
|||
if(!strcmp(queryName, "Supported")) {
|
||||
reply = strdup("PacketSize=3fff;qXfer:memory-map:read+");
|
||||
} else if(!strcmp(queryName, "Xfer")) {
|
||||
char *type, *op, *annex, *s_addr, *s_length;
|
||||
char *type, *op, *s_addr, *s_length;
|
||||
char *tok = params;
|
||||
char *annex __attribute__((unused));
|
||||
|
||||
type = strsep(&tok, ":");
|
||||
op = strsep(&tok, ":");
|
||||
|
|
Ładowanie…
Reference in New Issue