Mentions légales du service

Skip to content
Snippets Groups Projects

Fix Coverity issues

Merged Mathieu Faverge requested to merge coverity_debug into master
8 files
+ 21
23
Compare changes
  • Side-by-side
  • Inline
Files
8
+ 1
1
@@ -272,7 +272,7 @@ int Core::get_options(int &argc, char **argv)
/* Ignore any -psn_%d_%d argument, which is Mac OS specific */
largc = 0;
largv = (char**)calloc(argc+1, sizeof(char**));
largv = (char**)calloc(argc+1, sizeof(char*));
for(c = 0; c < argc; c++) {
if( strncmp(argv[c], "-psn", 4) )
largv[largc++] = argv[c];
Loading