Bug 199824 - [GTK] Fix a build warning in JavaScriptCore/API/tests/testapi.c
Summary: [GTK] Fix a build warning in JavaScriptCore/API/tests/testapi.c
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Joonghun Park
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-15 23:57 PDT by Joonghun Park
Modified: 2019-07-16 11:41 PDT (History)
9 users (show)

See Also:


Attachments
Patch (1.38 KB, patch)
2019-07-16 00:00 PDT, Joonghun Park
no flags Details | Formatted Diff | Diff
Patch (1.38 KB, patch)
2019-07-16 00:01 PDT, Joonghun Park
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joonghun Park 2019-07-15 23:57:33 PDT
Fix the build warning message below.

../../Source/JavaScriptCore/API/tests/testapi.c: In function ‘main’:
../../Source/JavaScriptCore/API/tests/testapi.c:1392:5: warning: ignoring return value of ‘realpath’, declared with attribute warn_unused_result [-Wunused-result]
     realpath(argv[0], resolvedPath);
Comment 1 Joonghun Park 2019-07-16 00:00:22 PDT
Created attachment 374197 [details]
Patch
Comment 2 Joonghun Park 2019-07-16 00:01:13 PDT
Created attachment 374198 [details]
Patch
Comment 3 EWS Watchlist 2019-07-16 01:54:25 PDT
Comment on attachment 374198 [details]
Patch

Attachment 374198 [details] did not pass jsc-ews (mac):
Output: https://webkit-queues.webkit.org/results/12748861

New failing tests:
mozilla-tests.yaml/js1_5/Array/regress-101964.js.mozilla-baseline
apiTests
Comment 4 Joonghun Park 2019-07-16 02:08:10 PDT
Could you please review this change?
I think the jsc ews test failure result is nothing to do with this patch.
Comment 5 WebKit Commit Bot 2019-07-16 11:41:50 PDT
Comment on attachment 374198 [details]
Patch

Clearing flags on attachment: 374198

Committed r247488: <https://trac.webkit.org/changeset/247488>
Comment 6 WebKit Commit Bot 2019-07-16 11:41:52 PDT
All reviewed patches have been landed.  Closing bug.