]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - console.c
fix a bunch of warnings
[xonotic/darkplaces.git] / console.c
index dc3ca9c50156f2765cd13ac849209d1b50c90447..b709f13ad4075d41df822af0a2caa8fcb6a5bedd 100644 (file)
--- a/console.c
+++ b/console.c
@@ -2171,7 +2171,6 @@ int Nicks_CompleteCountPossible(char *line, int pos, char *s, qboolean isCon)
 {
        char name[128];
        int i, p;
-       int length;
        int match;
        int spos;
        int count = 0;
@@ -2195,7 +2194,6 @@ int Nicks_CompleteCountPossible(char *line, int pos, char *s, qboolean isCon)
                if(!name[0])
                        continue;
 
-               length = strlen(name);
                match = -1;
                spos = pos - 1; // no need for a minimum of characters :)