mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-13 04:57:05 +00:00
Removal of numerous trailing spaces, to tidy up spandsp in line with the master
version.
This commit is contained in:
1 parent
4e812bb263
commit
93bb5ca5c7
130 files changed
+494
-498
No files matched your search
@@ -468,7 +468,7 @@ typedef struct
|
||||
static trie_node_t *trie_node_create(void)
|
||||
{
|
||||
trie_node_t *s;
|
||||
|
||||
|
||||
if ((s = (trie_node_t *) malloc(sizeof(*s))))
|
||||
{
|
||||
memset(s, 0, sizeof(*s));
|
||||
@@ -481,7 +481,7 @@ static trie_node_t *trie_node_create(void)
|
||||
static trie_t *trie_create(void)
|
||||
{
|
||||
trie_t *s;
|
||||
|
||||
|
||||
if ((s = (trie_t *) malloc(sizeof(*s))))
|
||||
{
|
||||
memset(s, 0, sizeof(*s));
|
||||
@@ -494,7 +494,7 @@ static trie_t *trie_create(void)
|
||||
static void trie_recursive_add_node_numbers(trie_node_t *t)
|
||||
{
|
||||
int index;
|
||||
|
||||
|
||||
if (t)
|
||||
{
|
||||
if (t->first <= t->last)
|
||||
@@ -516,7 +516,7 @@ static void trie_recursive_add_node_numbers(trie_node_t *t)
|
||||
static void trie_recursive_build_packed_trie(trie_node_t *t)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
||||
if (t)
|
||||
{
|
||||
if (t->first <= t->last)
|
||||
@@ -551,7 +551,7 @@ static void trie_add(trie_t *s, const char *u, size_t len)
|
||||
{
|
||||
/* The character in u we are processing... */
|
||||
index = (unsigned char) u[i];
|
||||
|
||||
|
||||
/* Is there a child node for this character? */
|
||||
if (t->child_list[index] == NULL)
|
||||
{
|
||||
@@ -561,7 +561,7 @@ static void trie_add(trie_t *s, const char *u, size_t len)
|
||||
if (index > t->last)
|
||||
t->last = index;
|
||||
}
|
||||
|
||||
|
||||
/* Move to the new node... and loop */
|
||||
t = t->child_list[index];
|
||||
}
|
||||
@@ -612,7 +612,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
trie_t *s;
|
||||
int i;
|
||||
|
||||
|
||||
s = trie_create();
|
||||
|
||||
for (i = 0; wordlist[i]; i++)
|
||||
|
||||
Reference in new issue
Block a user