Skip to content

Commit

Permalink
Remove warnings about spelling of header filename
Browse files Browse the repository at this point in the history
Confusion between "node.h" and "Node.h".
  • Loading branch information
s0meone committed Jun 29, 2017
1 parent 1ba37b1 commit eea3c26
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
3 changes: 0 additions & 3 deletions src/openzwave-driver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ namespace OZW {

std::string path = (*String::Utf8Value(info[0]->ToString()));

uint8 tst = Nan::To<Number>(info[1]).ToLocalChecked()->Value();
std::cout << "test: (" << unsigned(tst) << ")\n";

uv_async_init(uv_default_loop(), &async, async_cb_handler);

Local<Function> callbackHandle = Nan::Get( info.This(),
Expand Down
2 changes: 1 addition & 1 deletion src/openzwave-management.cc
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ namespace OZW {
{
Nan::HandleScope scope;
CheckMinArgs(1, "command");
std::string ctrcmd = (*String::Utf8Value(Nan::To<String>(info[0]).ToLocalChecked()->Value()));
std::string ctrcmd = (*String::Utf8Value(Nan::To<String>(info[0]).ToLocalChecked()));
uint8 nodeid1 = 0xff;
uint8 nodeid2 = 0;
bool highpower = false;
Expand Down
12 changes: 6 additions & 6 deletions src/openzwave.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
#include <v8.h>
#include "nan.h"

#include "Manager.h"
#include "Driver.h"
#include "Node.h"
#include "Notification.h"
#include "Options.h"
#include "Value.h"
#include "openzwave/Manager.h"
#include "openzwave/Driver.h"
#include "openzwave/Node.h"
#include "openzwave/Notification.h"
#include "openzwave/Options.h"
#include "openzwave/value_classes/Value.h"

#if defined(_WIN32) || defined( __APPLE__)
#include <unordered_map>
Expand Down

0 comments on commit eea3c26

Please sign in to comment.