1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

Fix gcc warning: value computed is not used. Patch by Alexey Tourbin.

This commit is contained in:
Laurent MONIN 2007-03-05 21:11:19 +01:00 committed by Laurent MONIN
parent 278dec0664
commit 31865ef953

View File

@ -892,7 +892,10 @@ point_intersect(struct point *p1, int l1, struct point *p2, int l2)
assert(p2);
if_assert_failed return 0;
if (first_time) memset(hash, 0, HASH_SIZE), first_time = 0;
if (first_time) {
memset(hash, 0, HASH_SIZE);
first_time = 0;
}
for (i = 0; i < l1; i++) hash[HASH(p1[i])] = 1;