fix clang warnings
authorcassowarii <cassowary@cassowary.me>
Fri, 10 Jul 2026 13:36:01 +0000 (06:36 -0700)
committercassowarii <cassowary@cassowary.me>
Fri, 10 Jul 2026 13:36:01 +0000 (06:36 -0700)
Makefile
src/data/value.c

index 5159e2d..b8bbca0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ dev: clean build/a.out
 
 $(OBJ)/%.o: $(SRC)/%.c
        @mkdir -p $(dir $@)
-       $(CC) $(CFLAGS) $(LIBS) -I$(SRC) -c $< -o $@
+       $(CC) $(CFLAGS) -I$(SRC) -c $< -o $@
 
 clean:
        rm -rf $(OBJ) $(BUILDDIR)
index 4d77ddb..68517cd 100644 (file)
@@ -121,6 +121,7 @@ void sbV_retain(const hV *a) {
       break;
     default:
       /* nothing */
+      break;
   }
 }
 
@@ -134,6 +135,7 @@ void sbV_release(const hV *a) {
       break;
     default:
       /* nothing */
+      break;
   }
 }