Jerry Yu 29c91ba42d fix unreachable code warnings
It is detected by clang with bellow patch
```
diff --git a/library/Makefile b/library/Makefile
index fdab4f4ba0..967f9e2e65 100644
--- a/library/Makefile
+++ b/library/Makefile
@@ -306,8 +306,8 @@ libmbedcrypto.dll: $(OBJS_CRYPTO)

 .c.o:
        echo "  CC    $<"
-       $(CC) $(LOCAL_CFLAGS) $(CFLAGS) -o $@ -c $<
-
+       $(CC) $(LOCAL_CFLAGS) $(CFLAGS) -o $(@:%.o=%.i) -E $<
+       $(CC) $(LOCAL_CFLAGS) -Wunreachable-code -Werror -Wno-unused-command-line-argument $(CFLAGS) -o $@ -c $(@:%.o=%.i)
 .PHONY: generated_files
 GENERATED_FILES = \
        error.c version_features.c \
```

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
2023-08-04 16:29:06 +08:00
..
2023-05-12 13:58:05 +02:00
2023-08-04 16:29:06 +08:00
2023-08-02 17:44:02 +08:00
2023-08-02 17:44:02 +08:00
2023-07-11 14:06:37 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-05-18 20:49:03 +01:00
2023-01-23 19:10:26 +01:00
2023-01-11 14:50:10 +01:00
2023-06-24 13:37:28 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-06-24 13:37:28 +01:00
2023-02-10 16:03:44 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-04-12 06:07:23 +00:00
2023-06-06 10:33:54 +02:00
2023-01-11 14:50:10 +01:00
2023-03-24 10:43:40 +01:00
2023-01-11 14:50:10 +01:00
2023-07-21 08:22:12 +00:00
2023-01-11 14:50:10 +01:00
2023-07-28 08:34:09 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-06-24 13:37:28 +01:00
2023-08-02 17:44:02 +08:00
2023-06-06 10:33:54 +02:00
2023-07-06 12:42:33 +02:00
2023-07-06 12:42:33 +02:00
2023-07-06 12:42:33 +02:00
2023-03-13 12:15:49 +00:00
2023-07-06 12:42:33 +02:00
2023-07-06 12:42:33 +02:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-07-06 12:47:28 +02:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-07-06 12:42:33 +02:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-02 12:40:50 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-07-17 15:14:42 +01:00
2023-01-11 14:50:10 +01:00
2023-06-07 19:59:05 +01:00
2023-07-13 10:40:29 +08:00
2023-07-13 10:40:29 +08:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-26 22:30:45 +01:00
2023-07-06 12:42:33 +02:00
2023-07-06 12:42:33 +02:00