Skip to content

Commit

Permalink
Remove unneeded break statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Nov 16, 2015
1 parent 41ddefd commit ec0cd54
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/dird/dird_conf.c
Expand Up @@ -1469,21 +1469,17 @@ bool FILESETRES::print_config(POOL_MEM &buff, bool hide_sensitive_data)
} else if (*p == 'o') {
Mmsg(temp, "LZO\n");
pm_strcat(cfg_str, temp.c_str());
break;
} else if (*p == 'f') {
p++;
if (*p == 'f') {
Mmsg(temp, "LZFAST\n");
pm_strcat(cfg_str, temp.c_str());
break;
} else if (*p == '4') {
Mmsg(temp, "LZ4\n");
pm_strcat(cfg_str, temp.c_str());
break;
} else if (*p == 'h') {
Mmsg(temp, "LZ4HC\n");
pm_strcat(cfg_str, temp.c_str());
break;
}
}
break;
Expand Down

0 comments on commit ec0cd54

Please sign in to comment.