~ubuntu-branches/ubuntu/trusty/coccinelle/trusty-proposed

« back to all changes in this revision

Viewing changes to tests/makes_a_loop.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2009-09-08 13:06:20 UTC
  • mfrom: (7.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090908130620-s33aehu14xddef4u
Tags: 0.1.10.deb-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - debian/control: build-depend on python2.6-dev,
    set XB-Python-Version to 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
static void * skel_probe(struct usb_device *udev, unsigned int ifnum, const struct usb_device_id *id)
 
2
{
 
3
        if (retval) {
 
4
                foo();
 
5
 
 
6
                for (minor = 0; minor < MAX_DEVICES; ++minor) {
 
7
                        if (minor_table[minor] == NULL)
 
8
                                goto out;
 
9
                }
 
10
        }
 
11
  out: return;
 
12
}