Skip to content

Commit

Permalink
return void
Browse files Browse the repository at this point in the history
  • Loading branch information
kuno committed Oct 22, 2011
1 parent dbd5612 commit d34d747
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/city.cc
Expand Up @@ -161,7 +161,7 @@ Handle<Value> geoip::City::lookup(const Arguments& args)
return Undefined();
}

int geoip::City::EIO_City(eio_req *req)
void geoip::City::EIO_City(eio_req *req)
{
city_baton_t* baton = static_cast<city_baton_t *>(req->data);

Expand All @@ -171,7 +171,7 @@ int geoip::City::EIO_City(eio_req *req)
baton->record = GeoIP_record_by_ipnum(baton->c->db, baton->ipnum);
}

return 0;
//return 0;
}

int geoip::City::EIO_AfterCity(eio_req *req)
Expand Down
4 changes: 2 additions & 2 deletions src/city6.cc
Expand Up @@ -159,10 +159,10 @@ Handle<Value> geoip::City6::lookup(const Arguments& args)
eio_custom(EIO_City, EIO_PRI_DEFAULT, EIO_AfterCity, baton);
ev_ref(EV_DEFAULT_UC);

return Undefined();
//return Undefined();
}

int geoip::City6::EIO_City(eio_req *req)
void geoip::City6::EIO_City(eio_req *req)
{
city6_baton_t * baton = static_cast<city6_baton_t *>(req->data);

Expand Down
4 changes: 2 additions & 2 deletions src/country.cc
Expand Up @@ -112,10 +112,10 @@ Handle<Value> geoip::Country::lookup(const Arguments& args)
eio_custom(EIO_Country, EIO_PRI_DEFAULT, EIO_AfterCountry, baton);
ev_ref(EV_DEFAULT_UC);

return Undefined();
//return Undefined();
}

int geoip::Country::EIO_Country(eio_req *req)
void geoip::Country::EIO_Country(eio_req *req)
{
country_baton_t *baton = static_cast<country_baton_t *>(req->data);

Expand Down
4 changes: 2 additions & 2 deletions src/netspeed.cc
Expand Up @@ -119,7 +119,7 @@ Handle<Value> geoip::NetSpeed::lookup(const Arguments& args)
return scope.Close(Undefined());
}

int geoip::NetSpeed::EIO_NetSpeed(eio_req *req)
void geoip::NetSpeed::EIO_NetSpeed(eio_req *req)
{
netspeed_baton_t *baton = static_cast<netspeed_baton_t *>(req->data);

Expand All @@ -129,7 +129,7 @@ int geoip::NetSpeed::EIO_NetSpeed(eio_req *req)
baton->netspeed = GeoIP_id_by_ipnum(baton->n->db, baton->ipnum);
}

return 0;
//return 0;
}

int geoip::NetSpeed::EIO_AfterNetSpeed(eio_req *req)
Expand Down
4 changes: 2 additions & 2 deletions src/org.cc
Expand Up @@ -112,10 +112,10 @@ Handle<Value> geoip::Org::lookup(const Arguments& args)
eio_custom(EIO_Org, EIO_PRI_DEFAULT, EIO_AfterOrg, baton);
ev_ref(EV_DEFAULT_UC);

return Undefined();
//return Undefined();
}

int geoip::Org::EIO_Org(eio_req *req)
void geoip::Org::EIO_Org(eio_req *req)
{
org_baton_t *baton = static_cast<org_baton_t *>(req->data);

Expand Down
4 changes: 2 additions & 2 deletions src/region.cc
Expand Up @@ -114,10 +114,10 @@ Handle<Value> geoip::Region::lookup(const Arguments& args)
eio_custom(EIO_Region, EIO_PRI_DEFAULT, EIO_AfterRegion, baton);
ev_ref(EV_DEFAULT_UC);

return scope.Close(Undefined());
//return scope.Close(Undefined());
}

int geoip::Region::EIO_Region(eio_req *req)
void geoip::Region::EIO_Region(eio_req *req)
{
region_baton_t *baton = static_cast<region_baton_t *>(req->data);

Expand Down

0 comments on commit d34d747

Please sign in to comment.