X-Git-Url: https://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/06a82a827480c9701487b216a20528d160262118..2caeb2fc3c40ecae99f65b791864381fde3015dc:/src/fops.c diff --git a/src/fops.c b/src/fops.c index 26b392f..5ae349f 100644 --- a/src/fops.c +++ b/src/fops.c @@ -18,6 +18,7 @@ */ #include #include +#include #include "misc.h" #include "error.h" @@ -87,6 +88,8 @@ static int pipe_seek(void *handle, long offset, int whence) case SEEK_END: distance = -1; break; + default: + assert(0); } if (distance < 0)