projects
/
platform
/
upstream
/
c-ares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
366cd6d
)
getv4: Value stored to 'dst' is never read
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 27 Dec 2010 12:13:19 +0000
(13:13 +0100)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 27 Dec 2010 12:13:19 +0000
(13:13 +0100)
inet_net_pton.c
patch
|
blob
|
history
diff --git
a/inet_net_pton.c
b/inet_net_pton.c
index d701a9f807b0df321db37435456a116dffe0fc3e..aa6a59f82a68e24ccc6e8be5f85b56379750c074 100644
(file)
--- a/
inet_net_pton.c
+++ b/
inet_net_pton.c
@@
-271,8
+271,8
@@
getv4(const char *src, unsigned char *dst, int *bitsp)
return (0);
if (dst - odst > 3) /* too many octets? */
return (0);
- *dst
++
= (unsigned char)val;
- return
(1)
;
+ *dst = (unsigned char)val;
+ return
1
;
}
static int