diff options
Diffstat (limited to 'examples/c')
-rw-r--r-- | examples/c/ex_encrypt.c | 2 | ||||
-rw-r--r-- | examples/c/ex_event_handler.c | 2 | ||||
-rw-r--r-- | examples/c/ex_stat.c | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/examples/c/ex_encrypt.c b/examples/c/ex_encrypt.c index 5d5cc66c87f..00dc66fc24d 100644 --- a/examples/c/ex_encrypt.c +++ b/examples/c/ex_encrypt.c @@ -501,7 +501,7 @@ main(void) ret = session->open_cursor(session, "table:crypto2", NULL, NULL, &c2); ret = session->open_cursor(session, "table:nocrypto", NULL, NULL, &nc); - /* + /* * Insert a set of keys and values. Insert the same data into * all tables so that we can verify they're all the same after * we decrypt on read. diff --git a/examples/c/ex_event_handler.c b/examples/c/ex_event_handler.c index 7122e71882e..03809cae7c8 100644 --- a/examples/c/ex_event_handler.c +++ b/examples/c/ex_event_handler.c @@ -131,7 +131,7 @@ main(void) */ if (getenv("WIREDTIGER_HOME") == NULL) { home = "WT_HOME"; - (void)system("rm -rf WT_HOME && mkdir WT_HOME"); + ret = system("rm -rf WT_HOME && mkdir WT_HOME"); } else home = NULL; diff --git a/examples/c/ex_stat.c b/examples/c/ex_stat.c index ba473d6be04..cf9e8fb97d1 100644 --- a/examples/c/ex_stat.c +++ b/examples/c/ex_stat.c @@ -63,7 +63,7 @@ print_cursor(WT_CURSOR *cursor) } /*! [statistics display function] */ -int +int print_database_stats(WT_SESSION *session) { WT_CURSOR *cursor; @@ -81,7 +81,7 @@ print_database_stats(WT_SESSION *session) return (ret); } -int +int print_file_stats(WT_SESSION *session) { WT_CURSOR *cursor; @@ -99,7 +99,7 @@ print_file_stats(WT_SESSION *session) return (ret); } -int +int print_join_cursor_stats(WT_SESSION *session) { WT_CURSOR *idx_cursor, *join_cursor, *stat_cursor; |