diff options
Diffstat (limited to 'src/third_party/wiredtiger/dist/s_clang-scan.diff')
-rw-r--r-- | src/third_party/wiredtiger/dist/s_clang-scan.diff | 48 |
1 files changed, 21 insertions, 27 deletions
diff --git a/src/third_party/wiredtiger/dist/s_clang-scan.diff b/src/third_party/wiredtiger/dist/s_clang-scan.diff index a78a7cf1bee..fc5ce463cd9 100644 --- a/src/third_party/wiredtiger/dist/s_clang-scan.diff +++ b/src/third_party/wiredtiger/dist/s_clang-scan.diff @@ -1,33 +1,27 @@ In file included from src/block/block_write.c:9: -In file included from ./src/include/wt_internal.h:412: -./src/include/intpack.i:194:4: warning: Assigned value is garbage or undefined - p = *pp; - ^ ~~~ +In file included from ./src/include/wt_internal.h:418: +./src/include/intpack.i:193:7: warning: Assigned value is garbage or undefined + p = *pp; + ^ ~~~ 1 warning generated. -src/conn/conn_capacity.c:310:2: warning: Value stored to 'capacity' is never read - capacity = steal_capacity = 0; - ^ ~~~~~~~~~~~~~~~~~~ +In file included from src/btree/col_modify.c:9: +In file included from ./src/include/wt_internal.h:423: +./src/include/mutex.i:158:13: warning: Null pointer passed as an argument to a 'nonnull' parameter + return (pthread_mutex_trylock(&t->lock)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +1 warning generated. +src/conn/conn_capacity.c:291:5: warning: Value stored to 'capacity' is never read + capacity = steal_capacity = 0; + ^ ~~~~~~~~~~~~~~~~~~ +1 warning generated. +src/reconcile/rec_col.c:1079:25: warning: Null pointer passed as an argument to a 'nonnull' parameter + memcmp(last.value->data, data, size) == 0))) { + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. -src/reconcile/rec_col.c:700:2: warning: Value stored to 'start_ts' is never read - start_ts = WT_TS_MAX; - ^ ~~~~~~~~~ -src/reconcile/rec_col.c:701:2: warning: Value stored to 'start_txn' is never read - start_txn = WT_TXN_MAX; - ^ ~~~~~~~~~~ -src/reconcile/rec_col.c:702:2: warning: Value stored to 'stop_ts' is never read - stop_ts = WT_TS_NONE; - ^ ~~~~~~~~~~ -src/reconcile/rec_col.c:703:2: warning: Value stored to 'stop_txn' is never read - stop_txn = WT_TS_NONE; - ^ ~~~~~~~~~~ -src/reconcile/rec_col.c:1199:9: warning: Null pointer passed as an argument to a 'nonnull' parameter - memcmp( - ^~~~~~~ -5 warnings generated. In file included from src/reconcile/rec_write.c:9: -In file included from ./src/include/wt_internal.h:417: -./src/include/mutex.i:187:13: warning: Null pointer passed as an argument to a 'nonnull' parameter - if ((ret = pthread_mutex_unlock(&t->lock)) != 0) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./src/include/wt_internal.h:423: +./src/include/mutex.i:184:16: warning: Null pointer passed as an argument to a 'nonnull' parameter + if ((ret = pthread_mutex_unlock(&t->lock)) != 0) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ar: `u' modifier ignored since `D' is the default (see `U') |