Skip to content

Commit 7931b9b

Browse files
committed
fix a warning from watcom compiler
physfs.c(321): Warning! W302: Expression is only useful for its side effects
1 parent 0cd18b8 commit 7931b9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/physfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ static PHYSFS_Io *memoryIo_duplicate(PHYSFS_Io *io)
318318
BAIL(PHYSFS_ERR_OUT_OF_MEMORY, NULL);
319319
} /* if */
320320

321-
__PHYSFS_ATOMIC_INCR(&info->refcount);
321+
(void) __PHYSFS_ATOMIC_INCR(&info->refcount);
322322

323323
memset(newinfo, '\0', sizeof (*info));
324324
newinfo->buf = info->buf;

0 commit comments

Comments
 (0)