Ver código fonte

Remove unused variable

Fixes #1126
bel2125 2 anos atrás
pai
commit
f6cefe2e33
1 arquivos alterados com 0 adições e 4 exclusões
  1. 0 4
      src/civetweb.c

+ 0 - 4
src/civetweb.c

@@ -8766,11 +8766,7 @@ read_auth_file(struct mg_file *filep,
 			switch (workdata->ah.type) {
 			case 1: /* Basic */
 			{
-				size_t mlen = strlen(workdata->f_user)
-				              + strlen(workdata->domain)
-				              + strlen(workdata->ah.plain_password) + 3;
 				char md5[33];
-
 				mg_md5(md5,
 				       workdata->f_user,
 				       ":",