From 3823f239c288d04bdefebe9487f7b34eb20cb9ef Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 26 Apr 2012 14:55:35 +1000 Subject: [PATCH] Remove unused variables and code --- json/schema.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/json/schema.cpp b/json/schema.cpp index 68eb29df..57c19ddc 100644 --- a/json/schema.cpp +++ b/json/schema.cpp @@ -224,7 +224,6 @@ is_number_valid (const json::number &node, continue; } - const json::node &val = *i.second; if (!validator->second (node, schema)) return false; } @@ -233,14 +232,6 @@ is_number_valid (const json::number &node, } -bool -is_number_valid (const json::node &node, - const json::object &schema) { - not_implemented (); - return true; -} - - // // JSON string //