diff options
author | Thomas Backlund <tmb@mageia.org> | 2011-12-06 18:51:00 +0000 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2011-12-06 18:51:00 +0000 |
commit | 99d39b121ed3504ecc4138efca9b41e38a921849 (patch) | |
tree | 478a9b36f08262e75f75f77ec1fe9d6d06f1a5b1 /mdk-stage1/ppp/pppd/utils.c | |
parent | fc2b83cd5a7bcc6e9d27afa819539fe8bd762603 (diff) | |
download | drakx-99d39b121ed3504ecc4138efca9b41e38a921849.tar drakx-99d39b121ed3504ecc4138efca9b41e38a921849.tar.gz drakx-99d39b121ed3504ecc4138efca9b41e38a921849.tar.bz2 drakx-99d39b121ed3504ecc4138efca9b41e38a921849.tar.xz drakx-99d39b121ed3504ecc4138efca9b41e38a921849.zip |
1.52:
- fix build with gcc-4.6.2
* fixes for -Werror=unused-but-set-variable
* minor whitespace cleanups
Diffstat (limited to 'mdk-stage1/ppp/pppd/utils.c')
-rw-r--r-- | mdk-stage1/ppp/pppd/utils.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mdk-stage1/ppp/pppd/utils.c b/mdk-stage1/ppp/pppd/utils.c index 64b960a63..0294ccf42 100644 --- a/mdk-stage1/ppp/pppd/utils.c +++ b/mdk-stage1/ppp/pppd/utils.c @@ -616,10 +616,9 @@ logit(level, fmt, args) char *fmt; va_list args; { - int n; char buf[1024]; - n = vslprintf(buf, sizeof(buf), fmt, args); + vslprintf(buf, sizeof(buf), fmt, args); log_write(level, buf); } @@ -946,4 +945,3 @@ unlock() lock_file[0] = 0; } } - |