Skip to content

Commit

Permalink
Merge branch 'icculus:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
jopadan committed Aug 11, 2023
2 parents 67e62c9 + 7931b9b commit b642e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/physfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ static PHYSFS_Io *memoryIo_duplicate(PHYSFS_Io *io)
BAIL(PHYSFS_ERR_OUT_OF_MEMORY, NULL);
} /* if */

__PHYSFS_ATOMIC_INCR(&info->refcount);
(void) __PHYSFS_ATOMIC_INCR(&info->refcount);

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

0 comments on commit b642e9c

Please sign in to comment.