Remove unused variables
This commit is contained in:
parent
5cab368af2
commit
8d0b90f6e1
2 changed files with 0 additions and 2 deletions
|
@ -697,7 +697,6 @@ R3Node * r3_tree_insert_pathl_ex(R3Node *tree, const char *path, unsigned int pa
|
||||||
|
|
||||||
// insert the first one edge, and break at "p"
|
// insert the first one edge, and break at "p"
|
||||||
R3Node * child = r3_tree_create(3);
|
R3Node * child = r3_tree_create(3);
|
||||||
unsigned int paln = p - path;
|
|
||||||
r3_node_connectl(n, path, p - path, 0, child); // no duplicate
|
r3_node_connectl(n, path, p - path, 0, child); // no duplicate
|
||||||
|
|
||||||
// and insert the rest part to the child
|
// and insert the rest part to the child
|
||||||
|
|
|
@ -155,7 +155,6 @@ const char * r3_slug_find_pattern(const char *s1, unsigned int str_len, unsigned
|
||||||
const char * r3_slug_find_name(const char *s1, unsigned int str_len, unsigned int *len) {
|
const char * r3_slug_find_name(const char *s1, unsigned int str_len, unsigned int *len) {
|
||||||
const char * c;
|
const char * c;
|
||||||
const char * s2;
|
const char * s2;
|
||||||
int cnt = 0;
|
|
||||||
unsigned int plholder;
|
unsigned int plholder;
|
||||||
if ((c = r3_slug_find_placeholder(s1, str_len, &plholder))) {
|
if ((c = r3_slug_find_placeholder(s1, str_len, &plholder))) {
|
||||||
c++;
|
c++;
|
||||||
|
|
Loading…
Reference in a new issue