Author: poeml Date: Wed Feb 23 22:29:48 2011 New Revision: 8239 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8239&view=rev Log: mod_mirrorbrain: - initialize *statement pointer, now that it is not set unconditionally anymore (adjunct to r8238 / issue #84) Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.c Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.c URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mod_mirrorbrain/mod_mirrorbrain.c?rev=8239&r1=8238&r2=8239&view=diff ============================================================================== --- trunk/mod_mirrorbrain/mod_mirrorbrain.c (original) +++ trunk/mod_mirrorbrain/mod_mirrorbrain.c Wed Feb 23 22:29:48 2011 _at_@ -1364,7 +1364,7 @@ mirror_entry_t *chosen = NULL; hashbag_t *hashbag = NULL; apr_status_t rv; - apr_dbd_prepared_t *statement; + apr_dbd_prepared_t *statement = NULL; apr_dbd_results_t *res = NULL; apr_dbd_row_t *row = NULL; /* this holds all mirror_entrys */ _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Wed Feb 23 2011 - 21:29:50 GMT
This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT