summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/c/00101-bugs-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/c/00101-bugs-1.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/c/00101-bugs-1.c69
1 files changed, 0 insertions, 69 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/c/00101-bugs-1.c b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/c/00101-bugs-1.c
deleted file mode 100644
index abc2e08e..00000000
--- a/debian/uncrustify-trinity/uncrustify-trinity-0.73.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;
-}
-