mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
find: missed 'ststic' on const data
This commit is contained in:
parent
56fce00fc7
commit
7d6c9296e7
@ -646,16 +646,17 @@ static action*** parse_params(char **argv)
|
|||||||
int find_main(int argc, char **argv);
|
int find_main(int argc, char **argv);
|
||||||
int find_main(int argc, char **argv)
|
int find_main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
bool dereference = FALSE;
|
static const char * const options[] = {
|
||||||
char *arg;
|
|
||||||
char **argp;
|
|
||||||
int i, firstopt, status = EXIT_SUCCESS;
|
|
||||||
const char * const options[] = {
|
|
||||||
"-follow",
|
"-follow",
|
||||||
USE_FEATURE_FIND_XDEV( "-xdev", )
|
USE_FEATURE_FIND_XDEV( "-xdev", )
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bool dereference = FALSE;
|
||||||
|
char *arg;
|
||||||
|
char **argp;
|
||||||
|
int i, firstopt, status = EXIT_SUCCESS;
|
||||||
|
|
||||||
for (firstopt = 1; firstopt < argc; firstopt++) {
|
for (firstopt = 1; firstopt < argc; firstopt++) {
|
||||||
if (argv[firstopt][0] == '-')
|
if (argv[firstopt][0] == '-')
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user