change log for rtems (2011-10-20)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Oct 20 11:12:41 UTC 2011


 *ralf*:
2011-10-20	Ralf Corsépius <ralf.corsepius at rtems.org>

	* libfs/src/dosfs/msdos_file.c (msdos_file_datasync):
	Remove unused var "rc".

M 1.2960  cpukit/ChangeLog
M   1.16  cpukit/libfs/src/dosfs/msdos_file.c

diff -u rtems/cpukit/ChangeLog:1.2959 rtems/cpukit/ChangeLog:1.2960
--- rtems/cpukit/ChangeLog:1.2959	Wed Oct 19 10:06:03 2011
+++ rtems/cpukit/ChangeLog	Thu Oct 20 05:48:30 2011
@@ -1,3 +1,8 @@
+2011-10-20	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* libfs/src/dosfs/msdos_file.c (msdos_file_datasync):
+	Remove unused var "rc". 
+
 2011-10-19	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* include/rtems/btimer.h: Introduce benchmark_timer_t.

diff -u rtems/cpukit/libfs/src/dosfs/msdos_file.c:1.15 rtems/cpukit/libfs/src/dosfs/msdos_file.c:1.16
--- rtems/cpukit/libfs/src/dosfs/msdos_file.c:1.15	Thu Jul 15 03:10:47 2010
+++ rtems/cpukit/libfs/src/dosfs/msdos_file.c	Thu Oct 20 05:48:30 2011
@@ -407,7 +407,6 @@
 int
 msdos_file_datasync(rtems_libio_t *iop)
 {
-    int                rc = RC_OK;
     rtems_status_code  sc = RTEMS_SUCCESSFUL;
     fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;
     msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;
@@ -418,7 +417,7 @@
         rtems_set_errno_and_return_minus_one(EIO);
 
     /* synchronize file data */
-    rc = fat_file_datasync(iop->pathinfo.mt_entry, fat_fd);
+    fat_file_datasync(iop->pathinfo.mt_entry, fat_fd);
 
     rtems_semaphore_release(fs_info->vol_sema);
     return RC_OK;


 *ralf*:
2011-10-20	Ralf Corsépius <ralf.corsepius at rtems.org>

	* libnetworking/libc/res_mkupdate.c (res_mkupdate):
	Remove unused var "sp1".

M 1.2961  cpukit/ChangeLog
M    1.6  cpukit/libnetworking/libc/res_mkupdate.c

diff -u rtems/cpukit/ChangeLog:1.2960 rtems/cpukit/ChangeLog:1.2961
--- rtems/cpukit/ChangeLog:1.2960	Thu Oct 20 05:48:30 2011
+++ rtems/cpukit/ChangeLog	Thu Oct 20 05:52:58 2011
@@ -1,5 +1,7 @@
 2011-10-20	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* libnetworking/libc/res_mkupdate.c (res_mkupdate):
+	Remove unused var "sp1".
 	* libfs/src/dosfs/msdos_file.c (msdos_file_datasync):
 	Remove unused var "rc". 
 

diff -u rtems/cpukit/libnetworking/libc/res_mkupdate.c:1.5 rtems/cpukit/libnetworking/libc/res_mkupdate.c:1.6
--- rtems/cpukit/libnetworking/libc/res_mkupdate.c:1.5	Fri Mar 30 00:15:58 2007
+++ rtems/cpukit/libnetworking/libc/res_mkupdate.c	Thu Oct 20 05:52:59 2011
@@ -64,7 +64,7 @@
 res_mkupdate(ns_updrec *rrecp_in, u_char *buf, int buflen) {
 	ns_updrec *rrecp_start = rrecp_in;
 	HEADER *hp;
-	u_char *cp, *sp1, *sp2, *startp, *endp;
+	u_char *cp, *sp2, *startp, *endp;
 	int n, i, soanum, multiline;
 	ns_updrec *rrecp;
 	struct in_addr ina;
@@ -89,7 +89,6 @@
 	hp->id = htons(++_res.id);
 	hp->opcode = ns_o_update;
 	hp->rcode = NOERROR;
-	sp1 = buf + 2*INT16SZ;  /* save pointer to zocount */
 	cp = buf + HFIXEDSZ;
 	buflen -= HFIXEDSZ;
 	dpp = dnptrs;



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111020/74ffc0b1/attachment-0001.html>


More information about the vc mailing list