[Scummvm-cvs-logs] scummvm master -> 3a196478c69b635c7c1c2d121b30d9710f8bd1e5

lordhoto lordhoto at gmail.com
Mon Oct 24 04:10:48 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
3a196478c6 ALL: Reduce assignment of "" to Common::String.


Commit: 3a196478c69b635c7c1c2d121b30d9710f8bd1e5
    https://github.com/scummvm/scummvm/commit/3a196478c69b635c7c1c2d121b30d9710f8bd1e5
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2011-10-23T11:04:03-07:00

Commit Message:
ALL: Reduce assignment of "" to Common::String.

When clearing an existant object clear() should be used.

When constructing objects (or using default values for parameters) the
constructor of String without any argument should be used.

This changes only a few instances I noticed while looking over some recent
commit logs.

Changed paths:
    audio/mididrv.cpp
    common/util.cpp
    engines/game.h
    gui/options.cpp
    gui/saveload.cpp








More information about the Scummvm-git-logs mailing list