]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Bug 580142: internal compiler error: output_operand: invalid
authorVMware, Inc <>
Mon, 26 Jul 2010 18:49:34 +0000 (11:49 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Mon, 26 Jul 2010 18:49:34 +0000 (11:49 -0700)
We did not touch the function for long time. I guess that some recent
gcc bug caused the problem. This will work around the compiler error.

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/dndGuest/dndFileList.cc

index a2d8123c592a660d963bb09c0ac1f927f0f9da67..6cc933345a52bdc2d3b0b6608f91a0b06c167dda 100644 (file)
@@ -411,7 +411,7 @@ std::string
 DnDFileList::GetRelPathsStr()
    const
 {
-   std::string stringList;
+   std::string stringList("");
    std::vector<std::string>::const_iterator i;
 
    for (i = mRelPaths.begin(); i != mRelPaths.end(); ++i) {