cleanup: Remove unreachable code
There is no need for unreachable code in these places, so remove it. Signed-off-by: Baligh Gasmi <gasmibal@gmail.com>
This commit is contained in:
parent
9683195ee5
commit
3d86fcee07
5 changed files with 0 additions and 5 deletions
|
@ -723,7 +723,6 @@ int main(int argc, char *argv[])
|
|||
case 'v':
|
||||
show_version();
|
||||
exit(1);
|
||||
break;
|
||||
case 'g':
|
||||
if (hostapd_get_global_ctrl_iface(&interfaces, optarg))
|
||||
return -1;
|
||||
|
|
|
@ -3249,7 +3249,6 @@ int main(int argc, char *argv[])
|
|||
default:
|
||||
usage();
|
||||
exit(0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -564,7 +564,6 @@ static int hs20_spp_exec(struct hs20_osu_client *ctx, xml_node_t *exec,
|
|||
free(id);
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (strcasecmp(name, "uploadMO") == 0) {
|
||||
|
|
|
@ -138,7 +138,6 @@ static unsigned int conf_offset_val(enum confidentiality_offset co)
|
|||
switch (co) {
|
||||
case CONFIDENTIALITY_OFFSET_30:
|
||||
return 30;
|
||||
break;
|
||||
case CONFIDENTIALITY_OFFSET_50:
|
||||
return 50;
|
||||
default:
|
||||
|
|
|
@ -103,7 +103,6 @@ static unsigned int conf_offset_val(enum confidentiality_offset co)
|
|||
switch (co) {
|
||||
case CONFIDENTIALITY_OFFSET_30:
|
||||
return 30;
|
||||
break;
|
||||
case CONFIDENTIALITY_OFFSET_50:
|
||||
return 50;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue