summaryrefslogtreecommitdiff
path: root/nuttx/arch/sim/src/up_touchscreen.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-08 17:17:18 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-08 17:17:18 +0000
commit4781c6e9a5d1bc3f0fb0bac12f4e9162cb12dee6 (patch)
tree1abe48bfab67210d239e7c794bd873cf419ccbac /nuttx/arch/sim/src/up_touchscreen.c
parent6c7d749b2f5cd1c13bcf140a0a1bcf2af4aac3f9 (diff)
downloadpx4-nuttx-4781c6e9a5d1bc3f0fb0bac12f4e9162cb12dee6.tar.gz
px4-nuttx-4781c6e9a5d1bc3f0fb0bac12f4e9162cb12dee6.tar.bz2
px4-nuttx-4781c6e9a5d1bc3f0fb0bac12f4e9162cb12dee6.zip
Remove a couple of warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4377 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sim/src/up_touchscreen.c')
-rw-r--r--nuttx/arch/sim/src/up_touchscreen.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/nuttx/arch/sim/src/up_touchscreen.c b/nuttx/arch/sim/src/up_touchscreen.c
index bc94d6056..55f060d3f 100644
--- a/nuttx/arch/sim/src/up_touchscreen.c
+++ b/nuttx/arch/sim/src/up_touchscreen.c
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/sim/src/up_touchscreen.c
*
- * Copyright (C) 2011 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -533,8 +533,6 @@ static int up_poll(FAR struct file *filep, FAR struct pollfd *fds,
{
FAR struct inode *inode;
FAR struct up_dev_s *priv;
- pollevent_t eventset;
- int ndx;
int ret = OK;
int i;