Skip to content

Commit cfaf844

Browse files
lgritzscott-wilson
authored andcommitted
fix: Mismatched pragma push/pop in hash.h (AcademySoftwareFoundation#4182)
Signed-off-by: Larry Gritz <[email protected]> Signed-off-by: Scott Wilson <[email protected]>
1 parent e3b2c40 commit cfaf844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/OpenImageIO/hash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ inline uint64_t fasthash64(const void *buf, size_t len, uint64_t seed=1771)
8585
OIIO_PRAGMA_WARNING_PUSH
8686
OIIO_GCC_ONLY_PRAGMA(GCC diagnostic ignored "-Wmaybe-uninitialized")
8787
v = *pos++;
88-
OIIO_PRAGMA_WARNING_PUSH
88+
OIIO_PRAGMA_WARNING_POP
8989
h ^= mix(v);
9090
h *= m;
9191
}

0 commit comments

Comments
 (0)