diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2021-03-28 04:30:11 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2023-04-16 20:05:17 +0200 |
commit | ad16e351773f4b606dd8b4dbbe77c2cb35bf5133 (patch) | |
tree | eca8c3a58a2b548032d17aae710daaf6d65d283d /proto/bmp/buffer.h | |
parent | a848dad40aa618e5e24417e4ef46b62c860de679 (diff) |
BMP: Remove superfluous error handling
Most error handling code was was for cases that cannot happen,
or they would be code bugs (and should use ASSERT()). Keep error
handling for just for I/O errors, like in rest of BIRD.
Diffstat (limited to 'proto/bmp/buffer.h')
-rw-r--r-- | proto/bmp/buffer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/proto/bmp/buffer.h b/proto/bmp/buffer.h index 07eb4e9c..f752cf5d 100644 --- a/proto/bmp/buffer.h +++ b/proto/bmp/buffer.h @@ -10,7 +10,6 @@ #define _BIRD_BMP_BUFFER_H_ #include "proto/bmp/bmp.h" -#include "proto/bmp/utils.h" #include <stdlib.h> @@ -75,4 +74,4 @@ BMP_DEFINE_PUT_FUNC(ip6, ip6_addr) void bmp_put_data(buffer *buf, const void *src, const size_t n); -#endif /* _BIRD_BMP_BUFFER_H_ */
\ No newline at end of file +#endif /* _BIRD_BMP_BUFFER_H_ */ |