]> git.ipfire.org Git - thirdparty/bird.git/commit
BMP: Remove superfluous error handling
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 28 Mar 2021 02:30:11 +0000 (04:30 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Sun, 16 Apr 2023 18:05:17 +0000 (20:05 +0200)
commitad16e351773f4b606dd8b4dbbe77c2cb35bf5133
treeeca8c3a58a2b548032d17aae710daaf6d65d283d
parenta848dad40aa618e5e24417e4ef46b62c860de679
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.
proto/bmp/bmp.c
proto/bmp/bmp.h
proto/bmp/buffer.h
proto/bmp/map.c
proto/bmp/map.h
proto/bmp/utils.h [deleted file]