]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - tools/mips-relocs.c
binman: Increase test coverage back to 100%
[people/ms/u-boot.git] / tools / mips-relocs.c
index b690fa53c4be7137c256be1667f28c0646b1932f..8be69d320fb3f227d3c8d5144e969228e4fd88be 100644 (file)
@@ -6,6 +6,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
+#include <assert.h>
 #include <elf.h>
 #include <errno.h>
 #include <fcntl.h>
        case 8:                                                 \
                _val = is_be ? htobe64(val) : htole64(val);     \
                break;                                          \
+       default:                                                \
+               /* We should never reach here */                \
+               _val = 0;                                       \
+               assert(0);                                      \
+               break;                                          \
        }                                                       \
                                                                \
        if (is_64)                                              \