On Saturday 26 April 2008 09:03:12 NotFound wrote:

> I'v taken a look a those warnings some days ago. The macro STRUCT_COPY
> is generic and asserts his two parameter as non null, but is used in
> several places with arguments that the compiler knows is not, making
> the assertion redundant. But dropping the assertion will leave
> unchecked other usages.
>
> A possible solution is to add another macro taking as second argument
> the struct instead of a pointer.

That seems cleaner to me; want to try that patch?

-- c

Reply via email to