commit 329d084f34662e023b1be9014118693bfb4ea5a9
parent e71dcae97af32af00a377df66d12571b988d9d38
Author: phoebos <ben@bvnf.space>
Date: Sun, 11 Jul 2021 20:50:30 +0100
base64: remove unnecessary break
Diffstat:
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,8 +1,9 @@
DEBUG=-g
CFLAGS+=-Wall -Wextra -Wpedantic
+base64: base64.c
+ $(CC) $(CFLAGS) $(DEBUG) -o $@ base64.c
+
%.c :
$(CC) $(CFLAGS) $(DEBUG) $@
-base64: base64.c
- $(CC) $(CFLAGS) $(DEBUG) -o $@ base64.c
diff --git a/base64.c b/base64.c
@@ -97,11 +97,9 @@ int main(int argc, char **argv) {
case 'h':
usage(name);
return 0;
- break;
case '?':
usage(name);
return 2;
- break;
}
}
/* only work on one file */