summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r--src/pugixml.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index a0f3a58..f4fef16 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -1410,11 +1410,9 @@ namespace
return;
}
}
- else
- {
- memcpy(buffer + bufsize, data, size);
- bufsize += size;
- }
+
+ memcpy(buffer + bufsize, data, size);
+ bufsize += size;
}
void write(const char* data)