Modify

Opened 8 years ago

Closed 8 years ago

#3509 closed Patches (fixed)

Simple patch with initialisation of path_size variable

Reported by: mloskot <mateusz@…> Owned by: bemandawes
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@…> 8 years ago.
Patch with initialisation of path_size variable in dir_itr_first function

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by mloskot <mateusz@…>

Patch with initialisation of path_size variable in dir_itr_first function

comment:1 Changed 8 years ago by bemandawes

  • Resolution set to fixed
  • Status changed from new to closed

(In [56616]) Filesystem: fix #3509

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain bemandawes.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.