1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
nobu 3f78d84661 Eliminate less-than-zero checks for unsigned variables
* ext/bigdecimal/bigdecimal.c, ext/digest/md5/md5.c,
  ext/json/fbuffer/fbuffer.h, ext/json/generator/generator.c:
  Eliminate less-than-zero checks for unsigned variables.
  According to section 4.1.5 of C89 standard, size_t is an unsigned
  type.  These checks were found with 'cppcheck' static analysis tool.
  [ruby-core:57117] [Feature #8890]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-12 13:37:11 +00:00
..
-test- rat.c: suppress warning 2013-09-08 10:52:52 +00:00
bigdecimal Eliminate less-than-zero checks for unsigned variables 2013-09-12 13:37:11 +00:00
continuation
coverage
curses
date
dbm
digest Eliminate less-than-zero checks for unsigned variables 2013-09-12 13:37:11 +00:00
dl
etc
fcntl
fiber
fiddle
gdbm
io
json Eliminate less-than-zero checks for unsigned variables 2013-09-12 13:37:11 +00:00
mathn
nkf
objspace
openssl * ext/openssl/ossl_ssl.c (ossl_ssl_read): Replace duplicate 2013-08-27 19:54:53 +00:00
pathname * array.c (rb_ary_splice): use RARRAY_PTR_USE() without WB because 2013-08-26 05:47:27 +00:00
psych * ext/psych/lib/psych/visitors/yaml_tree.rb: use double quotes when 2013-09-05 17:39:53 +00:00
pty
racc/cparse
readline * error.c, object.c, ext/readline/README.ja: [DOC] $SAFE=4 is obsolete. 2013-08-18 10:36:54 +00:00
ripper * NEWS: Add note about frozen string literals 2013-09-02 07:11:41 +00:00
sdbm
socket * process.c: Remove spaces between SI prefix and unit to follow 2013-09-09 12:33:36 +00:00
stringio * ext/stringio/stringio.c (strio_read_nonblock): declare local 2013-08-27 04:04:33 +00:00
strscan
syslog
thread thread.c: invert 2013-09-07 19:04:39 +00:00
tk
win32 * ext/win32/lib/win32/registry.rb (Win32::Registry#values): added. 2013-09-03 10:46:58 +00:00
win32ole * ext/win32ole/win32ole.c (folevariant_initialize): check type of 2013-09-08 05:06:20 +00:00
zlib * ext/zlib/zlib.c (zstream_run): Fix handling of deflate streams that 2013-08-28 20:36:21 +00:00
.document
extmk.rb
Setup
Setup.atheos
Setup.emx
Setup.nacl
Setup.nt