summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2014-01-24 12:22:22 (GMT)
committer Vincent Sanders <vince@netsurf-browser.org>2014-01-24 12:22:22 (GMT)
commit398628739554c8c77e9c82522f5cd36e3e166e22 (patch)
tree5fe8a97f221c0826f90754521f8b7d85a46bb1d9
parentd59ee3a59058b778981981c54ac898f870314cf3 (diff)
downloadlibdom-398628739554c8c77e9c82522f5cd36e3e166e22.tar.gz
libdom-398628739554c8c77e9c82522f5cd36e3e166e22.tar.bz2
remove logically unecessary checks (coverity 1127074)
-rw-r--r--src/utils/validate.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/utils/validate.c b/src/utils/validate.c
index 26af690..4fd7d6d 100644
--- a/src/utils/validate.c
+++ b/src/utils/validate.c
@@ -84,10 +84,6 @@ static bool is_name_char(uint32_t ch)
return true;
if (is_extender(ch) == true)
return true;
-
- if (ch == (uint32_t) '.' || ch == (uint32_t) '-' ||
- ch == (uint32_t) '_' || ch == (uint32_t) ':')
- return true;
return false;
}