mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
error: declaration of 'in' shadows a previous local
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@110 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: af888b3372
Author: mws <mws@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2009-12-22 (Tue, 22 Dec 2009)
Origin message was:
------------------
error: declaration of 'in' shadows a previous local
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@110 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
This commit is contained in:
@@ -238,16 +238,16 @@ bool read_interface(const std::string filename, const std::string name, bool &au
|
||||
advance = true;
|
||||
|
||||
{
|
||||
std::istringstream in(s.c_str());
|
||||
std::istringstream in2(s.c_str());
|
||||
|
||||
if (!(in >> s))
|
||||
if (!(in2 >> s))
|
||||
continue;
|
||||
|
||||
if (s != std::string("iface"))
|
||||
{
|
||||
if (s == std::string("auto"))
|
||||
{
|
||||
while (in >> s)
|
||||
while (in2 >> s)
|
||||
{
|
||||
if (s == std::string(name))
|
||||
{
|
||||
@@ -259,16 +259,16 @@ bool read_interface(const std::string filename, const std::string name, bool &au
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!(in >> s))
|
||||
if (!(in2 >> s))
|
||||
continue;
|
||||
|
||||
if (s != std::string(name))
|
||||
continue;
|
||||
|
||||
if (!(in >> s))
|
||||
if (!(in2 >> s))
|
||||
continue;
|
||||
|
||||
if (!(in >> t))
|
||||
if (!(in2 >> t))
|
||||
continue;
|
||||
|
||||
family = s;
|
||||
@@ -280,9 +280,9 @@ bool read_interface(const std::string filename, const std::string name, bool &au
|
||||
if (!getline(in, s))
|
||||
return true;
|
||||
|
||||
std::istringstream in(s.c_str());
|
||||
std::istringstream in3(s.c_str());
|
||||
|
||||
if (!(in >> t)) /* ignore empty lines */
|
||||
if (!(in3 >> t)) /* ignore empty lines */
|
||||
continue;
|
||||
|
||||
if (t[0] == '#') /* ignore comments */
|
||||
@@ -297,7 +297,7 @@ bool read_interface(const std::string filename, const std::string name, bool &au
|
||||
if (t == std::string("mapping"))
|
||||
break;
|
||||
|
||||
if (!(in >> s))
|
||||
if (!(in3 >> s))
|
||||
continue;
|
||||
|
||||
attribute[t] = s;
|
||||
|
Reference in New Issue
Block a user