From mboxrd@z Thu Jan 1 00:00:00 1970 From: julia.lawall@lip6.fr (Julia Lawall) Date: Tue, 25 Feb 2014 22:48:52 +0100 (CET) Subject: [Cocci] Remove unnecessary null pointer checks? In-Reply-To: <530D0ECD.5000004@users.sourceforge.net> References: <5307CAA2.8060406@users.sourceforge.net> <530A086E.8010901@users.sourceforge.net> <530A72AA.3000601@users.sourceforge.net> <530B5FB6.6010207@users.sourceforge.net> <530C5E18.1020800@users.sourceforge.net> <530CD2C4.4050903@users.sourceforge.net> <530CF8FF.8080600@users.sourceforge.net> <530D0ECD.5000004@users.sourceforge.net> Message-ID: To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr On Tue, 25 Feb 2014, SF Markus Elfring wrote: > > Remember that ... matches the shortest path between what is before and > > what is after. So if there is another if test on the same data in the > > function, that will cause a failure. If yo udon't care to have this > > constraint, you can put when any on a ... > > Which SmPL "when variant" would you recommend here? when any