summaryrefslogtreecommitdiff
path: root/src/core/wee-string.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-10-31 18:23:16 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-10-31 18:23:16 +0100
commitac6b299e8b95420de749daed2c93b9ff516c71cb (patch)
tree87966190199f96f719d2bcfecd40795fdaa9e1b4 /src/core/wee-string.c
parent06b48ccf8367ab4433fd7e0b3bcd26afb635ff92 (diff)
downloadweechat-ac6b299e8b95420de749daed2c93b9ff516c71cb.zip
Remove dead assignments
Diffstat (limited to 'src/core/wee-string.c')
-rw-r--r--src/core/wee-string.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/wee-string.c b/src/core/wee-string.c
index da30195f4..026797b39 100644
--- a/src/core/wee-string.c
+++ b/src/core/wee-string.c
@@ -677,7 +677,6 @@ string_has_highlight (const char *string, const char *highlight_words)
/* highlight found! */
while ((match = strstr (msg_pos, pos)) != NULL)
{
- match_pre = match - 1;
match_pre = utf8_prev_char (msg, match);
if (!match_pre)
match_pre = match - 1;
@@ -813,7 +812,6 @@ string_split (const char *string, const char *separators, int keep_eol,
return NULL;
ptr1 = string2;
- ptr2 = string2;
for (i = 0; i < n_items; i++)
{