Skip to content

Commit

Permalink
-Wall
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Nov 9, 2010
1 parent a292869 commit b2e6a54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/CanvasRenderingContext2d.cc
Expand Up @@ -971,7 +971,6 @@ Context2d::FillText(const Arguments &args) {
double y = args[2]->NumberValue();

Context2d *context = ObjectWrap::Unwrap<Context2d>(args.This());
cairo_t *ctx = context->getContext();

context->savePath();
context->setTextPath(*str, x, y);
Expand All @@ -998,7 +997,6 @@ Context2d::StrokeText(const Arguments &args) {
double y = args[2]->NumberValue();

Context2d *context = ObjectWrap::Unwrap<Context2d>(args.This());
cairo_t *ctx = context->getContext();

context->savePath();
context->setTextPath(*str, x, y);
Expand Down
4 changes: 2 additions & 2 deletions wscript
Expand Up @@ -11,8 +11,8 @@ def configure(conf):
conf.check_tool('compiler_cxx')
conf.check_tool('node_addon')
conf.check_cfg(package='cairo', mandatory=1, args='--cflags --libs')
conf.env.append_value('CCFLAGS', ['-O3'])
conf.env.append_value('CXXFLAGS', ['-O3'])
conf.env.append_value('CCFLAGS', ['-O3', '-Wall'])
conf.env.append_value('CXXFLAGS', ['-O3', '-Wall'])

def build(bld):
obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
Expand Down

0 comments on commit b2e6a54

Please sign in to comment.