1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

Remove unused variable

* libguile/async.c (scm_i_queue_async_cell): remove unused
  variable 'count'.
This commit is contained in:
Noah Lavine 2012-05-01 23:21:00 -04:00
parent f5556ab3e6
commit e254747644

View file

@ -240,7 +240,6 @@ scm_i_queue_async_cell (SCM c, scm_i_thread *t)
if (sleep_fd >= 0)
{
size_t count;
char dummy = 0;
/* Likewise, T might already been done with sleeping here, but
@ -248,7 +247,7 @@ scm_i_queue_async_cell (SCM c, scm_i_thread *t)
not yet have started sleeping, but this is no problem either
since the data written to a pipe will not be lost, unlike a
condition variable signal. */
count = write (sleep_fd, &dummy, 1);
write (sleep_fd, &dummy, 1);
}
/* This is needed to protect sleep_mutex.