diff options
author | Steven Moreland <smoreland@google.com> | 2017-08-30 17:03:53 -0700 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2017-08-30 17:03:53 -0700 |
commit | 8b3ed84fc3dafa299c824b524fe570070921b80f (patch) | |
tree | d5360c1fe64e2fd3c39dcac8d2de82e580dc274c /cmds/screencap/screencap.cpp | |
parent | 7d4e9b81b4bde2e8d099ef8a81494533ca25c27f (diff) |
Remove unused variable from screencap.
Noticed while working on b/65206688.
Test: links
Change-Id: Ia4d67022eb5c500372090c0e025e340989c41643
Diffstat (limited to 'cmds/screencap/screencap.cpp')
-rw-r--r-- | cmds/screencap/screencap.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cmds/screencap/screencap.cpp b/cmds/screencap/screencap.cpp index e5c246608a0f..445665eae2c4 100644 --- a/cmds/screencap/screencap.cpp +++ b/cmds/screencap/screencap.cpp @@ -69,9 +69,6 @@ static SkColorType flinger2skia(PixelFormat f) static status_t notifyMediaScanner(const char* fileName) { String8 cmd("am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d file://"); - String8 fileUrl("\""); - fileUrl.append(fileName); - fileUrl.append("\""); cmd.append(fileName); cmd.append(" > /dev/null"); int result = system(cmd.string()); |