Browse Source

Fix warning about unreachable code

Nathan Reed 8 năm trước cách đây
mục cha
commit
de080e6d0b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      stb_image_resize.h

+ 1 - 1
stb_image_resize.h

@@ -984,7 +984,7 @@ static int stbir__edge_wrap_slow(stbir_edge edge, int n, int max)
 
             return (m);
         }
-        return n;  // NOTREACHED
+        // NOTREACHED
 
     default:
         STBIR_ASSERT(!"Unimplemented edge type");