From e03d4fc1a53186eb6946c76662b4d2880b62e7f3 Mon Sep 17 00:00:00 2001 From: Sergey Gonimar Date: Tue, 10 Jun 2014 19:25:00 +0600 Subject: [PATCH] Unused local variable 'json_data'. The value of the variable is not used anywhere. --- src/main/resources/php/Swagger.mustache | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/resources/php/Swagger.mustache b/src/main/resources/php/Swagger.mustache index 0c3836a75eb..ae3f29ed560 100644 --- a/src/main/resources/php/Swagger.mustache +++ b/src/main/resources/php/Swagger.mustache @@ -85,7 +85,6 @@ class APIClient { curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS, $postData); } else if ($method == self::$PUT) { - $json_data = json_encode($postData); curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "PUT"); curl_setopt($curl, CURLOPT_POSTFIELDS, $postData); } else if ($method == self::$DELETE) {