Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Add missing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
smittytone committed Feb 27, 2019
1 parent 84f20d7 commit 10ca287
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions DarkSky.agent.lib.nut
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ class DarkSky {
*
*/
function _sendRequest(req, cb = null) {
local err, data, count;
if (cb != null) {
req.sendasync(function(resp) {
local returnTable = _processResponse(resp);
Expand Down Expand Up @@ -250,7 +249,7 @@ class DarkSky {
*
*/
function _processResponse(resp) {
local err, data;
local err, data, count;
if (resp.statuscode != 200) {
err = format("Unable to retrieve forecast data (code: %i)", resp.statuscode);
} else {
Expand Down

0 comments on commit 10ca287

Please sign in to comment.