summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-09-14 13:12:39 +0000
committerJan Holesovsky <kendy@collabora.com>2016-03-30 15:20:53 +0200
commit2f179f84f382809e015d359400770b84ef18f369 (patch)
treed125670dea2e345961680b238fa8fcf05c1e80d3
parent458f58ab93c9b7ddf2cecc172dbcce51bc3ea25b (diff)
Initialize the permissions to "no change".
Seems to be the source of the random permission changes.
-rw-r--r--filter.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/filter.cxx b/filter.cxx
index eadb711..06dacc3 100644
--- a/filter.cxx
+++ b/filter.cxx
@@ -36,7 +36,8 @@ Filter::Filter( const string& fname_ )
column( 0 ),
spaces_to_write( 0 ),
nonspace_appeared( false ),
- type( NO_FILTER )
+ type( NO_FILTER ),
+ perm( PERMISSION_NO_CHANGE )
{
data.reserve( 16384 );