bugunrtf - Bugs: bug #44543, silence compiler warnings in clang

 
 

bug #44543: silence compiler warnings in clang

Submitted by:  None
Submitted on:  Sat 14 Mar 2015 06:22:55 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: ClosedRelease: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 24 Mar 2015 03:22:49 PM UTC, comment #1:

Thanks

Jean-Francois Dockes <medoc>
Project Administrator
Sat 14 Mar 2015 06:22:55 PM UTC, original submission:

Attached is a trivial patch that will silence a warning in clang.

What is happening is that a string literal '\0' is assigned to a pointer which doesn't really make sense. Changing that to NULL will lead to the same result but will not emit a warning in clang.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #33345:  unrtf-0.21.9-silence-warning.diff added by None (344B - text/x-patch - silence clang warning patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by medoc (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 24 Mar 2015 03:22:49 PM UTCmedocOpen/ClosedOpen=>Closed
    Sat 14 Mar 2015 06:22:55 PM UTCNoneAttached File-=>Added unrtf-0.21.9-silence-warning.diff, #33345

    Back to the top


    Powered by Savane 3.1-cleanup1