Bug 150544

Summary: [EFL] Fix inappropriate move semantics use in parseAndRemoveEnvironments function
Product: WebKit Reporter: Joonghun Park <jh718.park>
Component: WebKit EFLAssignee: Joonghun Park <jh718.park>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, gyuyoung.kim, lucas.de.marchi, ossy
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Joonghun Park
Reported 2015-10-25 03:55:13 PDT
In parseAndRemoveEnvironments function, it declares its paramerter type as rvalue. But in ProcessLauncher::launchProcess(), the argument of parseAndRemoveEnvironments still be used after the call of the function. Currently the rvalue is not assigned to any other variable in parseAndRemoveEnvironments, so it doesn't lead to runtime error but use of move semantic is not appropriate semantically in this case.
Attachments
Patch (2.36 KB, patch)
2015-10-25 03:59 PDT, Joonghun Park
no flags
Joonghun Park
Comment 1 2015-10-25 03:59:41 PDT
WebKit Commit Bot
Comment 2 2015-11-01 16:25:05 PST
Comment on attachment 264006 [details] Patch Clearing flags on attachment: 264006 Committed r191868: <http://trac.webkit.org/changeset/191868>
WebKit Commit Bot
Comment 3 2015-11-01 16:25:09 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.