summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/actions.c1
-rw-r--r--src/number.c6
-rw-r--r--src/number.h1
3 files changed, 0 insertions, 8 deletions
diff --git a/src/actions.c b/src/actions.c
index 34994b4..caa23f1 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -5351,7 +5351,6 @@ frestore (char *data, rp_screen *s)
/* Splice in our new frameset. */
screen_restore_frameset (s, &fset);
-/* numset_clear (s->frames_numset); */
/* Process the frames a bit to make sure everything lines up. */
list_for_each_entry (cur, &s->frames, node)
diff --git a/src/number.c b/src/number.c
index 2ea229d..56750ae 100644
--- a/src/number.c
+++ b/src/number.c
@@ -155,9 +155,3 @@ numset_free (struct numset *ns)
free (ns->numbers_taken);
free (ns);
}
-
-void
-numset_clear (struct numset *ns)
-{
- ns->num_taken = 0;
-}
diff --git a/src/number.h b/src/number.h
index 1b93ed0..80ab40c 100644
--- a/src/number.h
+++ b/src/number.h
@@ -29,6 +29,5 @@ void numset_free (struct numset *ns);
void numset_release (struct numset *ns, int n);
int numset_request (struct numset *ns);
int numset_add_num (struct numset *ns, int n);
-void numset_clear (struct numset *ns);
#endif /* ! _RATPOISON_NUMBER_H */