Sagar Vemuri 0cead31d10 Fix Clang static analyzer warning in db_bench (#4910)
Summary:
Fixed clang static analyzer warning about division by 0.
```
ar: creating librocksdb_debug.a
tools/db_bench_tool.cc:4650:43: warning: Division by zero
      int pos = static_cast<int>(rand_num % range_);
                                 ~~~~~~~~~^~~~~~~~
1 warning generated.
make: *** [analyze] Error 1
```

This is from the new code I recently merged in ce8e88d2d7a62e2a08c4109aac84cb9e95ed359b.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4910

Differential Revision: D13788037

Pulled By: sagar0

fbshipit-source-id: f48851dca85047c19fbb1a361e25ce643aa4c7ea
2019-01-23 13:33:02 -08:00
..
2017-12-01 10:42:05 -08:00
2017-08-03 15:56:46 -07:00
2018-01-29 12:56:42 -08:00
2018-12-17 16:34:30 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2019-01-08 17:19:09 -08:00
2017-08-03 15:56:46 -07:00
2017-08-03 15:56:46 -07:00
2018-08-09 14:29:11 -07:00
2018-08-09 14:29:11 -07:00
2017-08-03 15:56:46 -07:00
2018-01-29 12:56:42 -08:00
2017-08-03 15:56:46 -07:00
2017-08-03 15:56:46 -07:00