diff --git a/src/smap/configure_functions.c b/src/smap/configure_functions.c index d55b96e50dc55992df46c58a7574ec67acda493d..0ecedd3d4884861555d09ce97530a5cc9c08e8ac 100644 --- a/src/smap/configure_functions.c +++ b/src/smap/configure_functions.c @@ -587,8 +587,7 @@ static int _change_state_bps(char *com, int state) for(j=0; j<3; j++) { if (((i+j) <= len) && (((com[i+j] >= '0') && (com[i+j] <= '9')) || - ((com[i+j] >= 'A') && (com[i+j] <= 'Z')) || - ((com[i+j] >= 'a') && (com[i+j] <= 'z')))) + ((com[i+j] >= 'A') && (com[i+j] <= 'Z')))) continue; goto error_message2; @@ -604,8 +603,7 @@ static int _change_state_bps(char *com, int state) for(j=0; j<3; j++) { if (((i+j) <= len) && (((com[i+j] >= '0') && (com[i+j] <= '9')) || - ((com[i+j] >= 'A') && (com[i+j] <= 'Z')) || - ((com[i+j] >= 'a') && (com[i+j] <= 'z')))) + ((com[i+j] >= 'A') && (com[i+j] <= 'Z')))) continue; goto error_message2; } @@ -619,8 +617,7 @@ static int _change_state_bps(char *com, int state) for(j=0; j<3; j++) { if (((i+j) <= len) && (((com[i+j] >= '0') && (com[i+j] <= '9')) || - ((com[i+j] >= 'A') && (com[i+j] <= 'Z')) || - ((com[i+j] >= 'a') && (com[i+j] <= 'z')))) + ((com[i+j] >= 'A') && (com[i+j] <= 'Z')))) continue; goto error_message2; } diff --git a/src/smap/partition_functions.c b/src/smap/partition_functions.c index 24c37530c1101dcc3891a416d216a481db4ca339..2dd270b00740fe0bfd3aece334267731ad25059b 100644 --- a/src/smap/partition_functions.c +++ b/src/smap/partition_functions.c @@ -902,7 +902,6 @@ static int _make_nodelist(char *nodes, List nodelist) break; j--; } else if((nodes[j] >= '0' && nodes[j] <= '9') - || (nodes[j] >= 'a' && nodes[j] <= 'z') || (nodes[j] >= 'A' && nodes[j] <= 'Z')) { number = xstrntol(nodes + j, NULL,