ruby-changes:10818
From: nobu <ko1@a...>
Date: Wed, 18 Feb 2009 03:17:57 +0900 (JST)
Subject: [ruby-changes:10818] Ruby:r22386 (trunk): * ext/dl/handle.c (rb_dlhandle_sym): moved conditionally used variable.
nobu 2009-02-18 03:17:51 +0900 (Wed, 18 Feb 2009) New Revision: 22386 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22386 Log: * ext/dl/handle.c (rb_dlhandle_sym): moved conditionally used variable. Modified files: trunk/ext/dl/handle.c Index: ext/dl/handle.c =================================================================== --- ext/dl/handle.c (revision 22385) +++ ext/dl/handle.c (revision 22386) @@ -129,10 +129,9 @@ struct dl_handle *dlhandle; void *handle; const char *name; - const char *err; int i; - #if defined(HAVE_DLERROR) + const char *err; # define CHECK_DLERROR if( err = dlerror() ){ func = 0; } #else # define CHECK_DLERROR -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/