X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FColor.C;h=0f4789513daa14cd407810c5ac553de75e61e303;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=2e797540bf7a6f7f7d22aba96e5bbc26ccc9705f;hpb=399e6e788cee5fb7d4a916365a4ef60f30cfe654;p=lyx.git diff --git a/src/Color.C b/src/Color.C index 2e797540bf..0f4789513d 100644 --- a/src/Color.C +++ b/src/Color.C @@ -38,10 +38,10 @@ int const nohue = -1; int hexstrToInt(string const & str) { - int val = 0; - istringstream is(str); - is >> std::setbase(16) >> val; - return val; + int val = 0; + istringstream is(str); + is >> std::setbase(16) >> val; + return val; } } // namespace anon