mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-27 03:50:29 +00:00
Fix compiler warning on Win32.
This commit is contained in:
parent
15c62a5854
commit
11ded6e6c7
@ -720,6 +720,8 @@ static int
|
||||
truncate (const char *filename, int ignored)
|
||||
{ int fd ;
|
||||
|
||||
ignored = 0 ;
|
||||
|
||||
if ((fd = open (filename, O_RDWR | O_TRUNC | O_BINARY)) < 0)
|
||||
return 0 ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user