about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorphoebos <ben@bvnf.space>2021-07-11 20:50:30 +0100
committerphoebos <ben@bvnf.space>2021-07-11 20:50:30 +0100
commit329d084f34662e023b1be9014118693bfb4ea5a9 (patch)
tree75e096ad63f43108aea041aea46167153af7261b
parente71dcae97af32af00a377df66d12571b988d9d38 (diff)
downloadkandr-329d084f34662e023b1be9014118693bfb4ea5a9.tar.gz
base64: remove unnecessary break
-rw-r--r--Makefile5
-rw-r--r--base64.c2
2 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b68d58a..3a2f147 100644
--- 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
index b05b57e..1a73eb6 100644
--- 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 */