mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-31 00:13:01 +08:00
Explicitly ignore fwrite result - nothing else can be done with the current writer interface, unfortunately
git-svn-id: http://pugixml.googlecode.com/svn/trunk@866 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
742a1db2df
commit
40ed110136
@ -3566,7 +3566,8 @@ namespace pugi
|
||||
|
||||
PUGI__FN void xml_writer_file::write(const void* data, size_t size)
|
||||
{
|
||||
fwrite(data, size, 1, static_cast<FILE*>(file));
|
||||
size_t result = fwrite(data, 1, size, static_cast<FILE*>(file));
|
||||
(void)!result; // unfortunately we can't do proper error handling here
|
||||
}
|
||||
|
||||
#ifndef PUGIXML_NO_STL
|
||||
|
Loading…
x
Reference in New Issue
Block a user