Skip to content
Snippets Groups Projects
Commit f77c8b56 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Remove a useless function pointer cast.

parent ae28aa57
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ main( int argc, char **argv ) ...@@ -32,7 +32,7 @@ main( int argc, char **argv )
while ( fgets( command, sizeof( command ), stdin ) != NULL ) { while ( fgets( command, sizeof( command ), stdin ) != NULL ) {
switch( *command ) { switch( *command ) {
case 'n': /* new tree */ case 'n': /* new tree */
( void ) avl_free( tree, (AVL_FREE) free ); ( void ) avl_free( tree, free );
tree = NULL; tree = NULL;
break; break;
case 'p': /* print */ case 'p': /* print */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment