projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e335f6
)
fix compiler warnings
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 4 Sep 2011 13:30:34 +0000
(15:30 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 4 Sep 2011 13:31:08 +0000
(15:31 +0200)
config.c
patch
|
blob
|
history
system-dummy.c
patch
|
blob
|
history
diff --git
a/config.c
b/config.c
index 2e0036456cd208bd05a4a3e6ba5631787a7a930a..a8796afae3265b676fbb2b0b065bb9fd7fa3a3da 100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-73,7
+73,7
@@
static void uci_array_to_blob(struct blob_buf *b, struct uci_option *o,
static void __uci_to_blob(struct blob_buf *b, struct uci_section *s,
const struct config_param_list *p)
{
- const struct blobmsg_policy *attr;
+ const struct blobmsg_policy *attr
= NULL
;
struct uci_element *e;
struct uci_option *o;
void *array;
diff --git
a/system-dummy.c
b/system-dummy.c
index 80f1734d1e0bd4870cf1bf02a29b188b2baf0000..eab927705b21c1251a44037b9d706dffc1f9e60d 100644
(file)
--- a/
system-dummy.c
+++ b/
system-dummy.c
@@
-1,6
+1,10
@@
#include <stdio.h>
#include <string.h>
+#ifndef DEBUG
+#define DEBUG
+#endif
+
#include "netifd.h"
#include "device.h"