wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit b025650e3e32ca42f2883545ea4190202b0f9def
parent 150c7bef96ef8ce6c947f88acbef6fe0d83deda5
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Fri,  3 Feb 2006 19:12:44 +0200

the indexes should be initialized to 0


Diffstat:
cmd/wm/fs.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmd/wm/fs.c b/cmd/wm/fs.c @@ -499,7 +499,7 @@ xread(IXPConn *c, Fcall *fcall) unsigned int i, len; char buf[32]; Client *client; - int pg, area, cl; + int pg = 0, area = 0, cl = 0; if(!m) return Enofid; @@ -788,7 +788,7 @@ xwrite(IXPConn *c, Fcall *fcall) IXPMap *m = ixp_server_fid2map(c, fcall->fid); unsigned short pgid, aid, cid; unsigned short i; - int pg, area, cl; + int pg = 0, area = 0, cl = 0; if(!m) return Enofid;