summaryrefslogtreecommitdiff
path: root/nuttx
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
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')
-rw-r--r--nuttx/arch/arm/src/lm3s/lm3s_gpioirq.c4
-rw-r--r--nuttx/arch/sim/src/up_touchscreen.c4
2 files changed, 3 insertions, 5 deletions
diff --git a/nuttx/arch/arm/src/lm3s/lm3s_gpioirq.c b/nuttx/arch/arm/src/lm3s/lm3s_gpioirq.c
index 3c10f217e..7cc5fea40 100644
--- a/nuttx/arch/arm/src/lm3s/lm3s_gpioirq.c
+++ b/nuttx/arch/arm/src/lm3s/lm3s_gpioirq.c
@@ -2,8 +2,8 @@
* arch/arm/src/lm3s/lm3s_gpioirq.c
* arch/arm/src/chip/lm3s_gpioirq.c
*
- * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Copyright (C) 2009-2010, 2012 Gregory Nutt. All rights reserved.
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
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;