Bug 145917 - [GTK] Fix unused variable warning in generated DerivedSources/WebCore/JSNavigator.cpp
Summary: [GTK] Fix unused variable warning in generated DerivedSources/WebCore/JSNavig...
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 145121
  Show dependency treegraph
Reported: 2015-06-12 04:09 PDT by Csaba Osztrogonác
Modified: 2017-05-11 14:46 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2015-06-12 04:09:29 PDT
DerivedSources/WebCore/JSNavigator.cpp:1104:13: warning: unused variable 'arg0' [-Wunused-variable]
    JSValue arg0(exec->argument(0));
1 warning generated.

The problem is that arg0 is only used inside ENABLE(VIBRATION) guard.
Comment 1 Joseph Pecoraro 2017-05-11 14:46:57 PDT
Vibration was removed so this is no longer valid.