diff options
author | Filippos Karapetis | 2010-01-10 21:13:38 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-01-10 21:13:38 +0000 |
commit | a637f50862ca03f3af22ed71e29ae4792219219d (patch) | |
tree | 3590aad9dc1a196bece6aa575f46ae0438127ff8 /engines/sci/engine/kpathing.cpp | |
parent | 2ae12749a981be8d0d915bf9ecb6b9596e6298f8 (diff) | |
download | scummvm-rg350-a637f50862ca03f3af22ed71e29ae4792219219d.tar.gz scummvm-rg350-a637f50862ca03f3af22ed71e29ae4792219219d.tar.bz2 scummvm-rg350-a637f50862ca03f3af22ed71e29ae4792219219d.zip |
Silenced warnings ("this" isn't defined on object instantiation, and commented out some unused variables)
svn-id: r47237
Diffstat (limited to 'engines/sci/engine/kpathing.cpp')
-rw-r--r-- | engines/sci/engine/kpathing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp index 0f263fd1bb..5916e850bf 100644 --- a/engines/sci/engine/kpathing.cpp +++ b/engines/sci/engine/kpathing.cpp @@ -1810,7 +1810,7 @@ reg_t kAvoidPath(EngineState *s, int argc, reg_t *argv) { case 8 : { Common::Point end = Common::Point(argv[2].toSint16(), argv[3].toSint16()); reg_t poly_list, output; - int width, height, opt; + int width, height, opt = 0; if (getSciVersion() >= SCI_VERSION_2) { if (argc < 7) |