chiark / gitweb /
Remove a redundant and also erroneous memset.
authorSimon Tatham <anakin@pobox.com>
Mon, 11 Mar 2013 19:58:28 +0000 (19:58 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 11 Mar 2013 19:58:28 +0000 (19:58 +0000)
commitb5756838f326db5c579d2413599bb9a1c77e6f42
treeb0cbcc34c700088434fbe13ccf713c7a7f04c96f
parent48f9d92f6fefe45e74ca69d4b11fdcfa27e47a4b
Remove a redundant and also erroneous memset.

(If you're going to memset a struct to 0 before filling in the fields
you care about, do use sizeof the struct rather than sizeof the
pointer; but also, if you're filling in _every_ field, there's no need
to bother anyway.)

[originally from svn r9773]
lightup.c