aboutsummaryrefslogtreecommitdiff
path: root/simple_pose_test.c
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-04-02 10:10:33 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-04-02 10:10:33 -0600
commit75460f240c9d003e4ca2e6dda9b2146a74df7ffa (patch)
tree957b26f0539df176b61ad2ec72fbb0658b147919 /simple_pose_test.c
parent2b63278497130d01b1fbc7e6a94b6ad8e32ab4dd (diff)
parent1724abef15a4090640bd82ba408681438316de7e (diff)
downloadlibsurvive-75460f240c9d003e4ca2e6dda9b2146a74df7ffa.tar.gz
libsurvive-75460f240c9d003e4ca2e6dda9b2146a74df7ffa.tar.bz2
Merge remote-tracking branch 'origin/master' into imu
Diffstat (limited to 'simple_pose_test.c')
-rw-r--r--simple_pose_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/simple_pose_test.c b/simple_pose_test.c
index 34c15de..0772abb 100644
--- a/simple_pose_test.c
+++ b/simple_pose_test.c
@@ -158,6 +158,9 @@ int main( int argc, char ** argv )
double Start = OGGetAbsoluteTime();
ctx = survive_init( argc, argv );
+ if (ctx == 0) { // Implies --help or similiar
+ return -1;
+ }
//survive_install_button_fn(ctx, testprog_button_process);
survive_install_raw_pose_fn(ctx, testprog_raw_pose_process);