summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/special.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-06-27 12:13:25 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-06-27 12:13:25 +0000
commitd461a65ed824ec63c77f4ef241065619f3e8804b (patch)
tree61eaab0c21753ae8cdb38c87c9e62dbca3930c13 /Build/source/texk/xdvik/special.c
parentd97e8d7e3159ea8dc7c20459710b9cd1cb6f53ac (diff)
compiler warnings: Drop 'set but not used' variables
git-svn-id: svn://tug.org/texlive/trunk@30976 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/special.c')
-rw-r--r--Build/source/texk/xdvik/special.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/Build/source/texk/xdvik/special.c b/Build/source/texk/xdvik/special.c
index 6c769dc0421..9d8cf893fdd 100644
--- a/Build/source/texk/xdvik/special.c
+++ b/Build/source/texk/xdvik/special.c
@@ -2594,7 +2594,6 @@ scan_special(char *cp, int cp_len, void *data)
}
if (memicmp(cp, "ps:", 3) == 0) {
- Boolean found;
cp += 3;
/* check for hdvips hyperlinks */
if (memicmp(cp, "sdict begin ", strlen("sdict begin ")) == 0) {
@@ -2618,19 +2617,21 @@ scan_special(char *cp, int cp_len, void *data)
|| (match = strstr(cp, "/Link")) != NULL
|| (match = strstr(cp, "/View")) != NULL) {
if (match != NULL)
- found = htex_prescan_special(match, cp_len, data);
+ htex_prescan_special(match, cp_len, data);
else
- found = htex_prescan_special(cp, cp_len, data);
+ htex_prescan_special(cp, cp_len, data);
}
}
}
else if (memicmp(cp, "html:", strlen("html:")) == 0) {
- Boolean found;
size_t offset = strlen("html:");
- found = htex_prescan_special(cp + offset, cp_len - offset, data);
- /* if searching for a specific string, return as soon as it's found - not yet implemented */
#if 0
+ Boolean found =
+#endif
+ htex_prescan_special(cp + offset, cp_len - offset, data);
+#if 0
+ /* if searching for a specific string, return as soon as it's found - not yet implemented */
if (my_data != NULL && my_data->scan_type == HTEX_ANCHOR_STRING && found) {
return True;
}