MCPcopy Create free account
hub / github.com/audacity/audacity / wsToEol

Function wsToEol

lib-src/sqlite/shell.c:11983–11992  ·  view source on GitHub ↗

** Return true if string z[] has nothing but whitespace and comments to the ** end of the first line. */

Source from the content-addressed store, hash-verified

11981** end of the first line.
11982*/
11983static int wsToEol(const char *z){
11984 int i;
11985 for(i=0; z[i]; i++){
11986 if( z[i]=='\n' ) return 1;
11987 if( IsSpace(z[i]) ) continue;
11988 if( z[i]=='-' && z[i+1]=='-' ) return 1;
11989 return 0;
11990 }
11991 return 1;
11992}
11993
11994/*
11995** Add a new entry to the EXPLAIN QUERY PLAN data

Callers 1

shell_callbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected