summaryrefslogtreecommitdiff
path: root/src/lib/ephysics
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-10-21 14:32:44 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2015-10-21 14:37:18 +0200
commitec4dbd88a6317a52f10a418fa4991994987bbc44 (patch)
treeb420b148aa784b38eea0042e1b0585454344f511 /src/lib/ephysics
parent10c8650b1e6105dc415f7121d4fc6a88e7015842 (diff)
ephysics: add missing break in switch to avoid override variable with other cases
Due to the missing break we would fall into the next case here which might lead to variables overridden with wrong values. CID: 1261441, 1261440, 1261438
Diffstat (limited to 'src/lib/ephysics')
-rw-r--r--src/lib/ephysics/ephysics_body.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ephysics/ephysics_body.cpp b/src/lib/ephysics/ephysics_body.cpp
index b6a0abf..c212026 100644
--- a/src/lib/ephysics/ephysics_body.cpp
+++ b/src/lib/ephysics/ephysics_body.cpp
@@ -4624,6 +4624,7 @@ _ephysics_body_box_face_obj_resize_cb(void *data, Evas *e EINA_UNUSED, Evas_Obje
4624 bw = body->size.w; 4624 bw = body->size.w;
4625 bh = h; 4625 bh = h;
4626 bd = w; 4626 bd = w;
4627 break;
4627 case EPHYSICS_BODY_BOX_FACE_TOP: 4628 case EPHYSICS_BODY_BOX_FACE_TOP:
4628 case EPHYSICS_BODY_BOX_FACE_BOTTOM: 4629 case EPHYSICS_BODY_BOX_FACE_BOTTOM:
4629 if ((w == body->size.w) && (h == body->size.d)) 4630 if ((w == body->size.w) && (h == body->size.d))