summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Kuzminsky <seb@highlab.com>2012-02-03 22:49:34 -0700
committerSebastian Kuzminsky <seb@highlab.com>2012-02-03 22:49:34 -0700
commit85438ca9992580a56f307f85eb936a3d113a4a96 (patch)
tree9a7262bf6378b01654433c7c36e201f62147b5f8
parente7ca4c64e8b753622cf8fadd5a98302153ad28de (diff)
downloadlinuxcnc-85438ca9992580a56f307f85eb936a3d113a4a96.tar.gz
linuxcnc-85438ca9992580a56f307f85eb936a3d113a4a96.zip
remove some dead code
The variable k is set after this, before it gets used.
-rw-r--r--src/libnml/cms/cms_cfg.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libnml/cms/cms_cfg.cc b/src/libnml/cms/cms_cfg.cc
index 133771bcf..1ef2c3aa3 100644
--- a/src/libnml/cms/cms_cfg.cc
+++ b/src/libnml/cms/cms_cfg.cc
@@ -572,7 +572,6 @@ int hostname_matches_bufferline(char *bufline)
return 0;
}
j = 0;
- k = 0;
if (buffer_hostent_ptr->h_length != my_hostent.h_length) {
rcs_print_error("Mismatched hostentry lengths.\n");
return 0;