[vte] lib: Remove unused function
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] lib: Remove unused function
- Date: Mon, 27 Apr 2020 18:51:26 +0000 (UTC)
commit 8aefb5a7d7833dd4a975f7a870283887675ca155
Author: Christian Persch <chpe src gnome org>
Date: Mon Apr 27 20:49:04 2020 +0200
lib: Remove unused function
src/vtespawn.cc | 9 ---------
1 file changed, 9 deletions(-)
---
diff --git a/src/vtespawn.cc b/src/vtespawn.cc
index c6c61ea1..cdedf0ac 100644
--- a/src/vtespawn.cc
+++ b/src/vtespawn.cc
@@ -72,15 +72,6 @@ _vte_write_err (int fd,
write_all(fd, data, sizeof(data));
}
-G_GNUC_UNUSED static int
-close_func (void *data, int fd)
-{
- if (fd >= GPOINTER_TO_INT (data))
- (void) close (fd);
-
- return 0;
-}
-
/* Based on execvp from GNU C Library */
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]