diff options
author | Paweł Kołodziejski | 2006-10-08 15:46:23 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2006-10-08 15:46:23 +0000 |
commit | 0f177137637301274185a12053229f7e62caa200 (patch) | |
tree | dd5937bf326132c07d58be266d56999e6e796ffc /engines | |
parent | 723e3224f970bcf8372298caa4658bbb2b0f3a98 (diff) | |
download | scummvm-rg350-0f177137637301274185a12053229f7e62caa200.tar.gz scummvm-rg350-0f177137637301274185a12053229f7e62caa200.tar.bz2 scummvm-rg350-0f177137637301274185a12053229f7e62caa200.zip |
fixed potentially uninitialized local variable 'x'
svn-id: r24209
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agos/string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/string.cpp b/engines/agos/string.cpp index 44b7e515e2..65dc578336 100644 --- a/engines/agos/string.cpp +++ b/engines/agos/string.cpp @@ -615,7 +615,7 @@ uint16 AGOSEngine::getBoxSize() { uint16 AGOSEngine::checkFit(char *Ptr, int width, int lines) { int countw = 0; int countl = 0; - char *x; + char *x = NULL; while (*Ptr) { if (*Ptr == '\n') return 1; |