MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / hb_trim_end

Function hb_trim_end

test/parsecsv.c:213–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213static void hb_trim_end( char *text )
214{
215 if( text == NULL )
216 {
217 return;
218 }
219
220 int i;
221
222 for( i = strlen(text) - 1; i >= 0 && is_white(text[i]) ; i-- )
223 {
224 text[i] = '\0';
225 }
226}

Callers 1

hb_read_next_cellFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected