From: Sergey Matveev Date: Thu, 17 Oct 2024 08:53:45 +0000 (+0300) Subject: Silence useless warning X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4ea34769babaa55b9acb00702524b98ef1ffa1ea36ea67038a687bd8ec925f83;p=keks.git Silence useless warning --- diff --git a/cyac/lib/iter.c b/cyac/lib/iter.c index 566fc73..cdecc00 100644 --- a/cyac/lib/iter.c +++ b/cyac/lib/iter.c @@ -145,7 +145,10 @@ YACIterBlob( return YACErrLenTooBig; } (*off) += got; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wswitch-enum" switch (atom->typ) { +#pragma clang diagnostic pop case YACItemNIL: assert(len >= (*off)); if ((len - *off) <= chunkLen) {