summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>2015-06-12 20:15:07 +0200
committerEmil Velikov <emil.l.velikov@gmail.com>2015-06-29 19:19:23 +0100
commit8d8bbbb9722c3eed3e2736da95d2fef4613d97fb (patch)
treec8eb24765560ce07e5c35ae2eb3acc0048881d87 /tests
parent7da8f07274cfe57cfd157e184f1f0b4c15405b9e (diff)
tests/exynos: replace return by break
The 'usage' function already does exit(0), so that this 'return -EINVAL' is never called. Just put a break there to avoid confusion. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/exynos/exynos_fimg2d_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c
index e64bb322..64dacfab 100644
--- a/tests/exynos/exynos_fimg2d_test.c
+++ b/tests/exynos/exynos_fimg2d_test.c
@@ -689,7 +689,7 @@ int main(int argc, char **argv)
break;
default:
usage(argv[0]);
- return -EINVAL;
+ break;
}
}