summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/bugs-1.c
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-11-18 22:24:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-11-18 22:24:33 +0900
commit3b0c3b8206964b85bf3716c962d26dd15c4f285f (patch)
tree2f0973dbf96c2892d19a55b6f846f130e7399a48 /debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/bugs-1.c
parentff287d2f48d4f4253bf84f19bd7fe937b61ede45 (diff)
downloadextra-dependencies-3b0c3b8206964b85bf3716c962d26dd15c4f285f.tar.gz
extra-dependencies-3b0c3b8206964b85bf3716c962d26dd15c4f285f.zip
Remove uncrustify-trinity.HEADmaster
It is no longer necessary to maintain a customize trinity version. Upstream version can be used as is. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/bugs-1.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/bugs-1.c52
1 files changed, 0 insertions, 52 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/bugs-1.c b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/bugs-1.c
deleted file mode 100644
index 39050c07..00000000
--- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/bugs-1.c
+++ /dev/null
@@ -1,52 +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;
-}
-