Commit bce12424 authored by ivoire's avatar ivoire
Browse files

b4s: remove unused function.

parent 930a9e57
/*****************************************************************************
* b4s.c : B4S playlist format import
*****************************************************************************
* Copyright (C) 2005 the VideoLAN team
* Copyright (C) 2005-2009 the VideoLAN team
* $Id$
*
* Authors: Sigmund Augdal Helberg <dnumgis@videolan.org>
......@@ -31,7 +31,6 @@
#include <vlc_common.h>
#include <vlc_demux.h>
#include <vlc_interface.h>
#include <vlc_xml.h>
#include "playlist.h"
......@@ -46,7 +45,6 @@ struct demux_sys_t
*****************************************************************************/
static int Demux( demux_t *p_demux);
static int Control( demux_t *p_demux, int i_query, va_list args );
//static char *GetNextToken(char *psz_cur_string);
static int IsWhitespace( char *psz_string );
/*****************************************************************************
......@@ -306,29 +304,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
return VLC_EGENERIC;
}
#if 0
/**
* Get a in-string pointer to the start of the next token from a
* string terminating the pointer returned by a previous call.
*
* \param psz_cur_string The string to search for the token from
* \return a pointer to withing psz_cur_string, or NULL if no token
* was found
* \note The returned pointer may contain more than one
* token, Run GetNextToken once more to terminate the token properly
*/
static char *GetNextToken(char *psz_cur_string) {
while (*psz_cur_string && !isspace(*psz_cur_string))
psz_cur_string++;
if (!*psz_cur_string)
return NULL;
*psz_cur_string++ = '\0';
while (*psz_cur_string && isspace(*psz_cur_string))
psz_cur_string++;
return psz_cur_string;
}
#endif
static int IsWhitespace( char *psz_string )
{
while( *psz_string )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment