unused variables removed

This commit is contained in:
Gulliver 2023-06-12 15:39:55 +02:00
parent f0ff5b63d8
commit 43ab82ea27
2 changed files with 0 additions and 4 deletions

View File

@ -173,10 +173,8 @@ namespace crow
bool isTagInsideObjectBlock(const int& current, const std::vector<context*>& stack) const
{
int openedBlock = 0;
int totalBlocksBefore = 0;
for (int i = current; i > 0; --i)
{
++totalBlocksBefore;
auto& action = actions_[i - 1];
if (action.t == ActionType::OpenBlock)

View File

@ -51,7 +51,6 @@ char * qs_scanvalue(const char * key, const char * qs, char * val, size_t val_le
inline int qs_strncmp(const char * s, const char * qs, size_t n)
{
int i=0;
unsigned char u1, u2, unyb, lnyb;
while(n-- > 0)
@ -88,7 +87,6 @@ inline int qs_strncmp(const char * s, const char * qs, size_t n)
return u1 - u2;
if ( u1 == '\0' )
return 0;
i++;
}
if ( CROW_QS_ISQSCHR(*qs) )
return -1;