Skip to content
Permalink
Browse files

migrate: Remove unused static function

  • Loading branch information
neverpanic committed Jan 2, 2018
1 parent 871a01a commit da3595c8bc281c6742064b5321b5886e231039d0
Showing with 0 additions and 13 deletions.
  1. +0 −13 src/registry2.0/snapshot.c
@@ -42,19 +42,6 @@
#include "registry.h"
#include "util.h"

/**
* Converts a command name into a `reg_snapshot`.
*
* @param [in] interp Tcl interpreter to check within
* @param [in] name name of snapshot to get
* @param [out] errPtr description of error if the snapshot can't be found
* @return an snapshot, or NULL if one couldn't be found
* @see get_object
*/
static reg_snapshot* get_snapshot(Tcl_Interp* interp, char* name, reg_error* errPtr) {
return (reg_snapshot*)get_object(interp, name, "snapshot", snapshot_obj_cmd, errPtr);
}

/**
* Removes the snapshot from the Tcl interpreter. Doesn't actually delete it since
* that's the registry's job. This is written to be used as the

0 comments on commit da3595c

Please sign in to comment.
You can’t perform that action at this time.