projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't check for NULL-pointers before calling free().
[tinc]
/
src
/
dummy_device.c
diff --git
a/src/dummy_device.c
b/src/dummy_device.c
index
80232e1
..
15f0654
100644
(file)
--- a/
src/dummy_device.c
+++ b/
src/dummy_device.c
@@
-37,10
+37,12
@@
static void close_device(void) {
}
static bool read_packet(vpn_packet_t *packet) {
}
static bool read_packet(vpn_packet_t *packet) {
+ (void)packet;
return false;
}
static bool write_packet(vpn_packet_t *packet) {
return false;
}
static bool write_packet(vpn_packet_t *packet) {
+ (void)packet;
return true;
}
return true;
}