瀏覽代碼

Remove redundant break

The die function is noreturn so will exit the program
Matt Clarkson 10 年之前
父節點
當前提交
da57b9e811
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/main.c

+ 0 - 1
src/main.c

@@ -360,7 +360,6 @@ static int set_option(char **options, const char *name, const char *value)
 		break;
 		break;
 	default:
 	default:
 		die("Unknown option type - option %s", name);
 		die("Unknown option type - option %s", name);
-		break;
 	}
 	}
 
 
 	for (i = 0; i < MAX_OPTIONS; i++) {
 	for (i = 0; i < MAX_OPTIONS; i++) {