ruby-changes:27497
From: naruse <ko1@a...>
Date: Sat, 2 Mar 2013 01:37:44 +0900 (JST)
Subject: [ruby-changes:27497] naruse:r39549 (trunk): Suppress warning: uninitialized value
naruse 2013-03-02 01:37:31 +0900 (Sat, 02 Mar 2013) New Revision: 39549 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39549 Log: Suppress warning: uninitialized value Modified files: trunk/file.c Index: file.c =================================================================== --- file.c (revision 39548) +++ file.c (revision 39549) @@ -1025,7 +1025,7 @@ rb_group_member(GETGROUPS_T gid) https://github.com/ruby/ruby/blob/trunk/file.c#L1025 int groups = 16; VALUE v = 0; GETGROUPS_T *gary; - int anum; + int anum = -1; if (getgid() == gid || getegid() == gid) return TRUE; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/