diff options
author | Filippos Karapetis | 2010-02-06 10:43:54 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-02-06 10:43:54 +0000 |
commit | b2e8777e1e09f13d89bea58156692c5ba2e4a733 (patch) | |
tree | 1fcc032f66130676439a295fba32cbb7f3a763e4 /engines/sci/engine | |
parent | 59c351a3b2a10677e061a7a2814179f9bd5b3c9f (diff) | |
download | scummvm-rg350-b2e8777e1e09f13d89bea58156692c5ba2e4a733.tar.gz scummvm-rg350-b2e8777e1e09f13d89bea58156692c5ba2e4a733.tar.bz2 scummvm-rg350-b2e8777e1e09f13d89bea58156692c5ba2e4a733.zip |
Silenced warning that intersectionX and intersectionY could be uninitialized
svn-id: r47928
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/kpathing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp index 2865e0fdac..2f8dcb23b6 100644 --- a/engines/sci/engine/kpathing.cpp +++ b/engines/sci/engine/kpathing.cpp @@ -1605,8 +1605,8 @@ reg_t kIntersections(EngineState *s, int argc, reg_t *argv) { } bool foundIntersection = true; - int32 intersectionX; - int32 intersectionY; + int32 intersectionX = 0; + int32 intersectionY = 0; if (qSlope == pSlope) { // If the lines overlap, we test the source and destination points |