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

Description Joonghun Park 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.
Comment 1 Joonghun Park 2015-10-25 03:59:41 PDT
Created attachment 264006 [details]
Patch
Comment 2 WebKit Commit Bot 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>
Comment 3 WebKit Commit Bot 2015-11-01 16:25:09 PST
All reviewed patches have been landed.  Closing bug.