From 77f59bb0632a290318aa1d44d28da6127c6a3dc1 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: svn://svn.code.sf.net/p/nuttx/code/trunk@4377 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/lm3s/lm3s_gpioirq.c | 4 ++-- arch/sim/src/up_touchscreen.c | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/arm/src/lm3s/lm3s_gpioirq.c b/arch/arm/src/lm3s/lm3s_gpioirq.c index 3c10f217e8..7cc5fea40c 100644 --- a/arch/arm/src/lm3s/lm3s_gpioirq.c +++ b/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/arch/sim/src/up_touchscreen.c b/arch/sim/src/up_touchscreen.c index bc94d60563..55f060d3fd 100644 --- a/arch/sim/src/up_touchscreen.c +++ b/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;