aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util/device_name_utils.cc
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-11-07 17:16:55 -0800
committerGravatar Andrew Selle <aselle@andyselle.com>2017-11-10 16:14:34 -0800
commit3972ae8de65d42bdc37a048a23c8120c376b8622 (patch)
tree3ea832c7fd09762f6016982c90318347f28df2b5 /tensorflow/core/util/device_name_utils.cc
parentd8ba9e21b720e1f2a6a9cd3648f13d0395d7496c (diff)
Removed an unused temporary variable from DeviceNameUtils::ParseFullName.
PiperOrigin-RevId: 174938299
Diffstat (limited to 'tensorflow/core/util/device_name_utils.cc')
-rw-r--r--tensorflow/core/util/device_name_utils.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/tensorflow/core/util/device_name_utils.cc b/tensorflow/core/util/device_name_utils.cc
index 2d797c855a..90c3fed2e8 100644
--- a/tensorflow/core/util/device_name_utils.cc
+++ b/tensorflow/core/util/device_name_utils.cc
@@ -116,7 +116,6 @@ bool DeviceNameUtils::ParseFullName(StringPiece fullname, ParsedName* p) {
if (fullname == "/") {
return true;
}
- StringPiece tmp;
while (!fullname.empty()) {
bool progress = false;
if (str_util::ConsumePrefix(&fullname, "/job:")) {