Bug 199824

Summary: [GTK] Fix a build warning in JavaScriptCore/API/tests/testapi.c
Product: WebKit Reporter: Joonghun Park <jh718.park>
Component: WebKitGTKAssignee: Joonghun Park <jh718.park>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, bugs-noreply, commit-queue, ews-watchlist, keith_miller, mark.lam, msaboff, sbarati, tzagallo
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

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.