Skip to content

Commit 495b7a3

Browse files
JanWielemakerclaude
andcommitted
CLEANUP: remove unused setBoolean()
setBoolean() had no callers anywhere in the tree. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 3524cdb commit 495b7a3

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

src/pl-util.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -310,16 +310,6 @@ notImplemented(char *name, int arity)
310310
}
311311

312312

313-
foreign_t
314-
setBoolean(int *flag, term_t old, term_t new)
315-
{ if ( !PL_unify_bool_ex(old, *flag) ||
316-
!PL_get_bool_ex(new, flag) )
317-
fail;
318-
319-
succeed;
320-
}
321-
322-
323313
foreign_t
324314
setInteger(int *flag, term_t old, term_t new)
325315
{ GET_LD

src/pl-util.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ char * sourceFileName(SourceFile sf);
5151
char * generationName(gen_t gen);
5252
int clauseNo(Clause clause, gen_t gen);
5353
int notImplemented(char *name, int arity);
54-
foreign_t setBoolean(int *flag, term_t o, term_t n);
5554
foreign_t setInteger(int *val, term_t old, term_t new);
5655
const char * atom_summary(atom_t name, unsigned int maxlen);
5756
const char * string_summary(word name, unsigned int maxlen);

0 commit comments

Comments
 (0)