From 53e7a19944294fe5caa57c255e218adf26305290 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 23 Feb 2016 19:42:15 +0100 Subject: [PATCH] Changed: Minor changes --- code/ryzom/client/src/cdb_synchronised.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/code/ryzom/client/src/cdb_synchronised.cpp b/code/ryzom/client/src/cdb_synchronised.cpp index 40aa11316..3d102071b 100644 --- a/code/ryzom/client/src/cdb_synchronised.cpp +++ b/code/ryzom/client/src/cdb_synchronised.cpp @@ -155,7 +155,6 @@ void CCDBSynchronised::read( const string &fileName ) } f.close(); - } // read // @@ -168,7 +167,7 @@ void CCDBSynchronised::write( const string &fileName ) { bool res = false; - if( _Database != 0 ) + if (_Database != 0) { FILE * f = nlfopen(fileName, "w"); if (f) @@ -292,11 +291,9 @@ string CCDBSynchronised::getString( uint32 id ) { return (*itStr).second; } - else - { - nlwarning(" string with id %d was not found",id); - return ""; - } + + nlwarning(" string with id %d was not found",id); + return ""; } // getString //