[Olsr-dev] [PATCH v1 04/43] main: remove pointless type size asserts
Ferry Huberts
(spam-protected)
Wed Nov 11 17:21:37 CET 2015
From: Ferry Huberts <(spam-protected)>
Signed-off-by: Ferry Huberts <(spam-protected)>
---
src/main.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/main.c b/src/main.c
index fd2a29d..5972bff 100644
--- a/src/main.c
+++ b/src/main.c
@@ -294,14 +294,6 @@ int main(int argc, char *argv[]) {
size_t len;
#endif /* __linux__ */
- /* paranoia checks */
- assert(sizeof(uint8_t) == 1);
- assert(sizeof(uint16_t) == 2);
- assert(sizeof(uint32_t) == 4);
- assert(sizeof(int8_t) == 1);
- assert(sizeof(int16_t) == 2);
- assert(sizeof(int32_t) == 4);
-
printf("\n *** %s ***\n Build date: %s on %s\n http://www.olsr.org\n\n",
olsrd_version, build_date, build_host);
--
2.5.0
More information about the Olsr-dev
mailing list