diff options
author | arseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640> | 2012-03-20 05:47:55 +0000 |
---|---|---|
committer | arseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640> | 2012-03-20 05:47:55 +0000 |
commit | 40ed1101363af0c01cd26961e23f06bf3104d6e5 (patch) | |
tree | 2bf49a4a23349fd76770b112db019834ceac89c4 /src/pugixml.cpp | |
parent | 742a1db2df5bebacd27cb0dedccb4bcbbba1babe (diff) |
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
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r-- | src/pugixml.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 5193e68..315dfa8 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -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 |