[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-
From: |
Gabriele Giacone |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1741-ge062b91 |
Date: |
Mon, 12 Aug 2013 23:16:48 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via e062b91a698ddce715a7c4d98724037d78ed622f (commit)
via 753d63e1a3f829b5c9208a3884510bbac18ba439 (commit)
via d13a94e1e850809f71ed547fcf00f74af8cf4bc0 (commit)
from 2996c718bde89696e940281650ac439cce9a3139 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=e062b91a698ddce715a7c4d98724037d78ed622f
commit e062b91a698ddce715a7c4d98724037d78ed622f
Author: Gabriele Giacone <address@hidden>
Date: Tue Aug 13 01:12:35 2013 +0200
Fix warnings: variable may be used uninitialized.
diff --git a/cygnal/cgi-bin/oflaDemo/oflaDemo.cpp
b/cygnal/cgi-bin/oflaDemo/oflaDemo.cpp
index 4f84803..d4f0a40 100644
--- a/cygnal/cgi-bin/oflaDemo/oflaDemo.cpp
+++ b/cygnal/cgi-bin/oflaDemo/oflaDemo.cpp
@@ -235,7 +235,7 @@ main(int argc, char *argv[])
}
OflaDemoTest net;
- int netfd;
+ int netfd = 0;
if (infile.empty()) {
if (netdebug) {
http://git.savannah.gnu.org/cgit//commit/?id=753d63e1a3f829b5c9208a3884510bbac18ba439
commit 753d63e1a3f829b5c9208a3884510bbac18ba439
Author: Gabriele Giacone <address@hidden>
Date: Mon Aug 12 03:45:19 2013 +0200
Fix warnings: initialize variable.
diff --git a/cygnal/handler.cpp b/cygnal/handler.cpp
index ee8cbb5..4ec0a27 100644
--- a/cygnal/handler.cpp
+++ b/cygnal/handler.cpp
@@ -403,7 +403,7 @@ Handler::findStream(const std::string &filespec)
{
// GNASH_REPORT_FUNCTION;
- for (int i; i < _streams; i++) {
+ for (int i = 0; i < _streams; i++) {
if (_diskstreams[i]->getFilespec() == filespec) {
return _diskstreams[i];
}
http://git.savannah.gnu.org/cgit//commit/?id=d13a94e1e850809f71ed547fcf00f74af8cf4bc0
commit d13a94e1e850809f71ed547fcf00f74af8cf4bc0
Author: Gabriele Giacone <address@hidden>
Date: Mon Aug 12 03:39:15 2013 +0200
Fix warnings: use unused result.
diff --git a/cygnal/libnet/diskstream.cpp b/cygnal/libnet/diskstream.cpp
index b9d4a01..4a5e515 100644
--- a/cygnal/libnet/diskstream.cpp
+++ b/cygnal/libnet/diskstream.cpp
@@ -584,7 +584,9 @@ DiskStream::writeToDisk(const std::string &filespec,
boost::uint8_t *data, size_
log_error(strerror(errno));
}
log_debug(_("Writing data (%d bytes) to disk: \"%s\""), size, filespec);
- ::write(fd, data, size);
+ if(::write(fd, data, size) < 0) {
+ log_error(strerror(errno));
+ };
::close(fd);
return true;
-----------------------------------------------------------------------
Summary of changes:
cygnal/cgi-bin/oflaDemo/oflaDemo.cpp | 2 +-
cygnal/handler.cpp | 2 +-
cygnal/libnet/diskstream.cpp | 4 +++-
3 files changed, 5 insertions(+), 3 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1741-ge062b91,
Gabriele Giacone <=