Opened 13 years ago

Closed 13 years ago

#3509 closed Patches (fixed)

Simple patch with initialisation of path_size variable

Reported by: mloskot <mateusz@…> Owned by: Beman Dawes
Milestone: Boost 1.41.0 Component: filesystem
Version: Boost Development Trunk Severity: Cosmetic
Keywords: Cc:

Description

While building the Boost inspect tool from trunk (r56576) , I noticed two warnings from the Boost Filesystem library:

../../../libs/filesystem/src/operations.cpp:1285: warning:
 ‘path_size’ may be used uninitialised in this function

I attached a tiny patch that fixes this warning.

Using GCC 4.3.3 on Linux Ubuntu 9.04 (Intel 64-bit)

Attachments (1)

boost-filesystem-dir_itr_first-r56576.patch (641 bytes ) - added by mloskot <mateusz@…> 13 years ago.
Patch with initialisation of path_size variable in dir_itr_first function

Download all attachments as: .zip

Change History (2)

by mloskot <mateusz@…>, 13 years ago

Patch with initialisation of path_size variable in dir_itr_first function

comment:1 by Beman Dawes, 13 years ago

Resolution: fixed
Status: newclosed

(In [56616]) Filesystem: fix #3509

Note: See TracTickets for help on using tickets.