diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-07-09 07:44:32 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-07-09 07:44:32 +0000 |
commit | 43729c2b5738f3f9063ed7753a00acd491d905dd (patch) | |
tree | cc20c5efb1fe2f95353243298669590d1f020f70 /dbaccess/inc/genericcontroller.hxx | |
parent | 692111189c4a29011124b5737990a681cb4d3168 (diff) |
#i79375# Avoid warning ('directValue' may be used uninitialized in this function). Patch by pjanik.
Diffstat (limited to 'dbaccess/inc/genericcontroller.hxx')
-rw-r--r-- | dbaccess/inc/genericcontroller.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/inc/genericcontroller.hxx b/dbaccess/inc/genericcontroller.hxx index e61fc15ed76a..9b8b5c915c4f 100644 --- a/dbaccess/inc/genericcontroller.hxx +++ b/dbaccess/inc/genericcontroller.hxx @@ -4,9 +4,9 @@ * * $RCSfile: genericcontroller.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2007-07-06 07:50:17 $ + * last change: $Author: rt $ $Date: 2007-07-09 08:44:32 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -166,7 +166,7 @@ namespace dbaui { _value.reset(); // de-init the optional value - T directValue; + T directValue = T(); if ( _any >>= directValue ) _value.reset( directValue ); |