diff options
author | Torbjörn Andersson | 2010-01-31 23:28:12 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-01-31 23:28:12 +0000 |
commit | c5be030077d5a148eb376b5acb78af1499c0a58b (patch) | |
tree | 3a850d65281f52cad8efed8ef9e7a710d08034ab /engines/scumm | |
parent | b0b7764178bcb9fcf3fb590abd717c056894a66a (diff) | |
download | scummvm-rg350-c5be030077d5a148eb376b5acb78af1499c0a58b.tar.gz scummvm-rg350-c5be030077d5a148eb376b5acb78af1499c0a58b.tar.bz2 scummvm-rg350-c5be030077d5a148eb376b5acb78af1499c0a58b.zip |
Silenced some more cppcheck warnings.
svn-id: r47785
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/detection.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp index bd9fc06655..e1a2a4866a 100644 --- a/engines/scumm/detection.cpp +++ b/engines/scumm/detection.cpp @@ -180,6 +180,7 @@ static Common::String generateFilenameForDetection(const char *pattern, Filename error("generateFilenameForDetection: Unsupported genMethod"); } + buf[sizeof(buf) - 1] = 0; return buf; } |