chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a45a909
)
swap: Fix uninitialized variable
author
Christian Ruppert
<idl0r@qasl.de>
Wed, 2 Jun 2010 16:54:50 +0000
(18:54 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 2 Jun 2010 16:54:50 +0000
(18:54 +0200)
src/swap.c
patch
|
blob
|
history
diff --git
a/src/swap.c
b/src/swap.c
index 2c7e4924d6b4fab2d380b3b6816eed8df8ec5580..c35a8e785a6708099c1eb9f8974a60dd06438d26 100644
(file)
--- a/
src/swap.c
+++ b/
src/swap.c
@@
-246,7
+246,7
@@
int swap_add_one(
bool from_proc_swaps) {
Unit *u = NULL;
char *e = NULL, *w = NULL;
- bool delete;
+ bool delete
= false
;
int r;
SwapParameters *p;