diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-01-09 00:30:49 -0500 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-01-09 20:09:29 +0100 |
commit | 80a022e8e7738e2c616ac793f53c6b5005300101 (patch) | |
tree | 46c5a8cce9d0740a64c7192731fcb72e58f9ded3 /ddb | |
parent | d2c5a6387667b658cfa8549d6b7306fe1f71f3a8 (diff) | |
download | gnumach-80a022e8e7738e2c616ac793f53c6b5005300101.tar.gz gnumach-80a022e8e7738e2c616ac793f53c6b5005300101.tar.bz2 gnumach-80a022e8e7738e2c616ac793f53c6b5005300101.zip |
Remove unused db_set_variable
Message-Id: <Y7umiZGUjD3E+Duq@jupiter.tail36e24.ts.net>
Diffstat (limited to 'ddb')
-rw-r--r-- | ddb/db_variables.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ddb/db_variables.c b/ddb/db_variables.c index 3e20e689..40f2d4d3 100644 --- a/ddb/db_variables.c +++ b/ddb/db_variables.c @@ -160,22 +160,6 @@ db_get_variable(db_expr_t *valuep) return (1); } -int -db_set_variable(db_expr_t value) -{ - struct db_variable *vp; - struct db_var_aux_param aux_param; - char modif[TOK_STRING_SIZE]; - - aux_param.modif = modif; - if (!db_find_variable(&vp, &aux_param)) - return (0); - - db_read_write_variable(vp, &value, DB_VAR_SET, &aux_param); - - return (1); -} - void db_read_write_variable( struct db_variable *vp, |