summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2016-01-22 08:31:35 -0500
committerKeith Bostic <keith@wiredtiger.com>2016-01-22 08:31:35 -0500
commit6151b0c013d447585852481aab2ed7d9cd9ee013 (patch)
tree8da797b0d4af324421085084f33866a652de0da3
parentcd1aef20bfb5c4ee32177f59631099e7da577cc5 (diff)
downloadmongo-6151b0c013d447585852481aab2ed7d9cd9ee013.tar.gz
WT-2344: OS X compiler warning
Fix up comment spelling.
-rw-r--r--bench/wtperf/idle_table_cycle.c6
-rw-r--r--dist/s_string.ok1
2 files changed, 4 insertions, 3 deletions
diff --git a/bench/wtperf/idle_table_cycle.c b/bench/wtperf/idle_table_cycle.c
index d80508a843e..b699b5b9dd1 100644
--- a/bench/wtperf/idle_table_cycle.c
+++ b/bench/wtperf/idle_table_cycle.c
@@ -67,8 +67,8 @@ cycle_idle_tables(void *arg)
CONFIG *cfg;
WT_SESSION *session;
WT_CURSOR *cursor;
- char uri[512];
int cycle_count, ret;
+ char uri[512];
cfg = (CONFIG *)arg;
cycle_count = 0;
@@ -148,9 +148,9 @@ cycle_idle_tables(void *arg)
/*
* Start a thread the creates and drops tables regularly.
* TODO: Currently accepts a pthread_t as a parameter, since it is not
- * possible to portably staticially initialize it in the global configuration
+ * possible to portably statically initialize it in the global configuration
* structure. Should reshuffle the configuration structure so explicit static
- * initializers aren't necessary.
+ * initialization isn't necessary.
*/
int
start_idle_table_cycle(CONFIG *cfg, pthread_t *idle_table_cycle_thread)
diff --git a/dist/s_string.ok b/dist/s_string.ok
index d4af6b8eb00..b2d5a453441 100644
--- a/dist/s_string.ok
+++ b/dist/s_string.ok
@@ -831,6 +831,7 @@ perf
pfx
poptable
popthreads
+portably
pos
posint
posix