[LTP] [PATCH v4 2/3] lib: SAFE_MQ_OPEN() macro

Cyril Hrubis chrubis@suse.cz
Fri Mar 10 15:50:05 CET 2017


Hi!
> +int safe_mq_open(const char *file, const int lineno, const char *pathname,
> +	int oflags, ...)
> +{
> +	va_list ap;
> +	int rval;
> +	mode_t mode;
> +	struct mq_attr *attr;
> +
> +	mode = 0;
> +	attr = NULL;

I've removed these two useless initializations and pushed along with the
third patch, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list