]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/auth.c
Fix several issues uncovered by Coverity (#397)
[ppp.git] / pppd / auth.c
index d27f6306c4b03f2e8cabf3a93de37751c50e15bb..202d557a5a4b41539ee1065ad43fbacb1f3bc5bb 100644 (file)
@@ -1240,7 +1240,7 @@ np_finished(int unit, int proto)
 static void
 check_maxoctets(void *arg)
 {
-    unsigned int used;
+    unsigned int used = 0;
     ppp_link_stats_st stats;
 
     if (ppp_get_link_stats(&stats)) {