diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-05-19 16:22:10 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-05-19 19:14:52 +0900 |
commit | 71fb4a139179e9d27070f7f3e98971e3e029697f (patch) | |
tree | 92fbf03f1e546b3c99e6e06e98100b6ef8e4e2c6 /debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/c/00101-bugs-1.c | |
parent | 6eae1a16a1001287ef5129db86f4ef2145ace3ca (diff) | |
download | extra-dependencies-71fb4a139179e9d27070f7f3e98971e3e029697f.tar.gz extra-dependencies-71fb4a139179e9d27070f7f3e98971e3e029697f.zip |
uncrustify: updated to version 0.73
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/c/00101-bugs-1.c')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/c/00101-bugs-1.c | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/c/00101-bugs-1.c b/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/c/00101-bugs-1.c deleted file mode 100644 index abc2e08e..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/c/00101-bugs-1.c +++ /dev/null @@ -1,69 +0,0 @@ -int oldfoo(bar) -char bar; -{ - return(bar - 2); -} - -int i2c_use_client(struct i2c_client *client) -{ - int ret; - - ret = i2c_inc_use_client(client); - if (ret) - { - return(ret); - } - - if ((client->flags & I2C_CLIENT_ALLOW_USE) || (a && - something_else)) - { - if (client->flags & I2C_CLIENT_ALLOW_MULTIPLE_USE) - { - client->usage_count++; - } - else if (client->usage_count > 0) - { - goto busy; - } - else - { - client->usage_count++; - } - } - - return(0); - - busy: - i2c_dec_use_client(client); - return(-EBUSY); -} - -void get_name(void) -{ - a = (int)5; - - if (a) - { - if (b) - { - b--; - } - else - { - a++; - } - } - for (a = 0; a < 10; a++) - { - if (b) - { - b--; - } - else - { - a++; - } - } - return; -} - |