git://developer.intra2net.com
/
libi2ncommon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a3a62b4
)
Properly initialize FollowLinks in the default constructor
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 22 Jun 2015 19:24:09 +0000 (21:24 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 22 Jun 2015 19:24:12 +0000 (21:24 +0200)
Detected by cppcheck.
src/filefunc.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/filefunc.cpp
b/src/filefunc.cpp
index
2de5a93
..
33ef325
100644
(file)
--- a/
src/filefunc.cpp
+++ b/
src/filefunc.cpp
@@
-55,7
+55,8
@@
using namespace std;
*/
Stat::Stat()
-: Valid(false)
+ : FollowLinks(true)
+ , Valid(false)
{
clear();
} // eo Stat::Stat()