From 4f5b04c8e5842b06ec96b4c774792696cc635991 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 8 Feb 2012 17:17:18 +0000 Subject: [PATCH] Remove a couple of warnings git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4377 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/arch/arm/src/lm3s/lm3s_gpioirq.c | 4 ++-- nuttx/arch/sim/src/up_touchscreen.c | 4 +--- 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 3c10f217e8..7cc5fea40c 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 + * Copyright (C) 2009-2010, 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * 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 bc94d60563..55f060d3fd 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 * * 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;