]> granicus.if.org Git - cgit/commit
diffstat: do not rely on uninitialized data
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 20 Feb 2014 18:48:24 +0000 (19:48 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 20 Feb 2014 18:48:24 +0000 (19:48 +0100)
commit7e1c0ed2aa50ed2290f63912897a3724b224b7ea
tree26bd4b76373e658f86513b683f9ffe8d6482d4cc
parente8cacb5981039e7e74921659ea50e287395ed411
diffstat: do not rely on uninitialized data

Right now if you visit:
<http://git.zx2c4.com/systemd/diff/src/udev/udev-builtin-input_id.c?id=bcfce235>
you'll see that if you reload the page a few times, a bunch of times the
diffstat comes out with no lines being shown or changed. I'm not
currently sure what the cause of this is, but I suspect it might have to
do with this uninitialized data.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
shared.c