about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 */