]> git.ipfire.org Git - thirdparty/tor.git/commit
sr: Remove useless code in disk_state_update()
authorDavid Goulet <dgoulet@torproject.org>
Mon, 4 Jul 2016 15:33:41 +0000 (11:33 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Mon, 4 Jul 2016 15:33:41 +0000 (11:33 -0400)
commitc6de05d529dddebbdd7f9bcd36ca69d9a5e17d66
treedaf2e361f8c743dfda8a8135fa7c9154d5103eb2
parentbe78e9ff3782639b9fa72dcfa9bda559cfc83f17
sr: Remove useless code in disk_state_update()

This patch also updates a comment in the same function for accuracy.

Found by Coverity issue 1362985. Partily fixes #19567.

Signed-off-by: David Goulet <dgoulet@torproject.org>
src/or/shared_random_state.c