From a38ddfa93efd2aea8a19b770c03ea7098c658677 Mon Sep 17 00:00:00 2001 From: scottmk Date: Sun, 15 Aug 2010 01:11:41 +0000 Subject: [PATCH] Pedantic change for const-correctness: replaced two calls to jsonObjectGetKey() with calls to jsonObjectGetKeyConst(). M Open-ILS/src/c-apps/test_json_query.c git-svn-id: svn://svn.open-ils.org/ILS/trunk@17222 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/c-apps/test_json_query.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/c-apps/test_json_query.c b/Open-ILS/src/c-apps/test_json_query.c index 441d08b9dc..9da97322b7 100644 --- a/Open-ILS/src/c-apps/test_json_query.c +++ b/Open-ILS/src/c-apps/test_json_query.c @@ -180,10 +180,10 @@ static int test_json_query( const char* json_query ) { int flags = 0; - if ( obj_is_true( jsonObjectGetKey( hash, "distinct" ) ) ) + if ( obj_is_true( jsonObjectGetKeyConst( hash, "distinct" ))) flags |= SELECT_DISTINCT; - if ( obj_is_true( jsonObjectGetKey( hash, "no_i18n" ) ) ) + if ( obj_is_true( jsonObjectGetKeyConst( hash, "no_i18n" ))) flags |= DISABLE_I18N; char* sql_query = buildQuery( NULL, hash, flags ); -- 2.43.2