From: Adam Dickmeiss Date: Tue, 12 Feb 2013 09:55:26 +0000 (+0100) Subject: Extra brace around it stmt to avoid warning X-Git-Tag: v4.2.51~2 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=8fe13e342d037b0a7a265dfbf19c8d71e7eb9d49;p=yaz-moved-to-github.git Extra brace around it stmt to avoid warning --- diff --git a/src/zoom-sru.c b/src/zoom-sru.c index 4507c8b..c3328fe 100644 --- a/src/zoom-sru.c +++ b/src/zoom-sru.c @@ -404,10 +404,12 @@ int ZOOM_handle_sru(ZOOM_connection c, Z_HTTP_Response *hres, Z_SRW_PDU *sr; ret = yaz_solr_decode_response(c->odr_in, hres, &sr); if (ret == 0) + { if (sr->which == Z_SRW_searchRetrieve_response) *cret = handle_srw_response(c, sr->u.response); else if (sr->which == Z_SRW_scan_response) handle_srw_scan_response(c, sr->u.scan_response); + } } else {