Skip to content

Commit

Permalink
Removed NO-OP function
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Watts committed Oct 28, 2014
1 parent 7431565 commit bb535d8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions file_cabinet.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,9 +395,6 @@ void file_cabinet_insert_v (FileCabinet *fc, const tagdb_key_t key, File *f)
} KL_END
}

void file_cabinet_new_drawer (FileCabinet *fc, file_id_t slot_id)
{}

gulong file_cabinet_size (FileCabinet *fc)
{
return g_hash_table_size(fc->files);
Expand Down
2 changes: 0 additions & 2 deletions file_cabinet.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ void file_cabinet_remove_all (FileCabinet *fc, File *f);
/* Actually delete the file */
void file_cabinet_delete_file(FileCabinet *fc, File *f);

void file_cabinet_new_drawer (FileCabinet *fc, file_id_t slot_id);

/* Returns the keyed file slot as a GList */
GList *file_cabinet_get_drawer_l (FileCabinet *fc, file_id_t slot_id);

Expand Down
1 change: 0 additions & 1 deletion tagdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ void insert_tag (TagDB *db, Tag *t)
g_hash_table_insert(db->tag_codes, (gpointer) tag_name(t), TO_SP(tag_id(t)));
tag_bucket_insert(db, t);
_sqlite_newtag_stmt(db, t);
file_cabinet_new_drawer(db->files, tag_id(t));
}

void delete_file_flip (File *f, TagDB *db)
Expand Down
1 change: 1 addition & 0 deletions tagdb_util.lc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include "set_ops.h"
#include "tagdb.h"
#include "tagdb_util.h"
#include "util.h"

GList *get_tags_list (TagDB *db, tagdb_key_t key)
{
Expand Down

0 comments on commit bb535d8

Please sign in to comment.