[Bf-blender-cvs] [c8f2ad0ab96] master: Cleanup: remove unused BLI_argsArgv

Campbell Barton noreply at git.blender.org
Fri Nov 6 02:41:45 CET 2020


Commit: c8f2ad0ab96dfe1f34b91ccd20d0002944010ca3
Author: Campbell Barton
Date:   Fri Nov 6 10:29:05 2020 +1100
Branches: master
https://developer.blender.org/rBc8f2ad0ab96dfe1f34b91ccd20d0002944010ca3

Cleanup: remove unused BLI_argsArgv

===================================================================

M	source/blender/blenlib/BLI_args.h
M	source/blender/blenlib/intern/BLI_args.c

===================================================================

diff --git a/source/blender/blenlib/BLI_args.h b/source/blender/blenlib/BLI_args.h
index 2bd0e7b9019..ebf88ea69f5 100644
--- a/source/blender/blenlib/BLI_args.h
+++ b/source/blender/blenlib/BLI_args.h
@@ -73,7 +73,6 @@ void BLI_argsPrintArgDoc(struct bArgs *ba, const char *arg);
 void BLI_argsPrintOtherDoc(struct bArgs *ba);
 
 void BLI_argsPrint(struct bArgs *ba);
-const char **BLI_argsArgv(struct bArgs *ba);
 
 #ifdef __cplusplus
 }
diff --git a/source/blender/blenlib/intern/BLI_args.c b/source/blender/blenlib/intern/BLI_args.c
index 45061c5a150..2f1571d4ea1 100644
--- a/source/blender/blenlib/intern/BLI_args.c
+++ b/source/blender/blenlib/intern/BLI_args.c
@@ -148,11 +148,6 @@ void BLI_argsPrint(struct bArgs *ba)
   }
 }
 
-const char **BLI_argsArgv(struct bArgs *ba)
-{
-  return ba->argv;
-}
-
 static bArgDoc *internalDocs(struct bArgs *ba,
                              const char *short_arg,
                              const char *long_arg,



More information about the Bf-blender-cvs mailing list