From 027e0a1caf51e290bbb837c854ff3ef0a5304e9e Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Mon, 22 Jun 2015 21:24:09 +0200 Subject: [PATCH] Properly initialize FollowLinks in the default constructor Detected by cppcheck. --- src/filefunc.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/filefunc.cpp b/src/filefunc.cpp index 2de5a93..33ef325 100644 --- 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() -- 1.7.1