[llvm-ar] Make PositionalArgs static.
authorFangrui Song <maskray@google.com>
Mon, 14 May 2018 05:56:48 +0000 (05:56 +0000)
committerFangrui Song <maskray@google.com>
Mon, 14 May 2018 05:56:48 +0000 (05:56 +0000)
llvm-svn: 332216

llvm/tools/llvm-ar/llvm-ar.cpp

index 5cc8c47..c856499 100644 (file)
@@ -142,7 +142,7 @@ static void failIfError(Error E, Twine Context = "") {
   });
 }
 
-SmallVector<const char *, 256> PositionalArgs;
+static SmallVector<const char *, 256> PositionalArgs;
 
 static bool MRI;