Modify

Ticket #3509 (closed Patches: fixed)

Opened 5 years ago

Last modified 5 years ago

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

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

Change History

Changed 5 years ago by mloskot <mateusz@…>

Patch with initialisation of path_size variable in dir_itr_first function

comment:1 Changed 5 years ago by bemandawes

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

(In [56616]) Filesystem: fix #3509

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
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.