mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-06 22:54:24 +00:00
Fixed compilation warning
This commit is contained in:
parent
b6440d68ee
commit
c2cf61e984
@ -313,9 +313,8 @@ namespace {
|
||||
out_filter.push(boost::iostreams::gzip_compressor(boost::iostreams::gzip_params(compress_level_)));
|
||||
out_filter.push(*out_file);
|
||||
|
||||
unsigned char c;
|
||||
while(((c = in_filter.get()) >= 0)
|
||||
&& in_filter.good())
|
||||
unsigned char c = in_filter.get();
|
||||
while( in_filter.good())
|
||||
{
|
||||
if (c == '\r')
|
||||
{
|
||||
@ -324,6 +323,7 @@ namespace {
|
||||
} else {
|
||||
out_filter.put(c);
|
||||
}
|
||||
c = in_filter.get();
|
||||
}
|
||||
|
||||
std::remove((**itor)["filename"].c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user