From 5a67135486d918e002696c26ae3ca7f6f217a620 Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Tue, 10 Dec 2013 14:08:09 -0600 Subject: [PATCH] Fix uninitialized field in basename/dirname util wrapper. Shouldn't cause a problem as it's always set in subclass ctors, just silences a coverity warning. --- src/util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util.h b/src/util.h index d86f45880d..16a5181dbc 100644 --- a/src/util.h +++ b/src/util.h @@ -230,6 +230,7 @@ public: protected: SafePathOp() + : result(), error() { } void CheckValid(const char* result, const char* path, bool error_aborts);