String literal converted to char* in formal argument name and in initialization

RESOLVED WORKSFORME

Status

Core Graveyard
Installer: XPInstall Engine
--
trivial
RESOLVED WORKSFORME
11 years ago
2 years ago

People

(Reporter: timeless, Assigned: timeless)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

11 years ago
Building deps for /export/home/timeless/Desktop/0/var/www/html/mxr/lxr-root/lxr-data/seamonkey/mozilla/xpinstall/src/ScheduledTasks.cpp
"/export/home/timeless/Desktop/0/var/www/html/mxr/lxr-root/lxr-data/seamonkey/mozilla/xpinstall/src/ScheduledTasks.cpp", line 438: Warning: String literal converted to char* in formal argument name in call to NR_RegSetEntry(void*, int, char*, unsigned short, void*, unsigned).
"/export/home/timeless/Desktop/0/var/www/html/mxr/lxr-root/lxr-data/seamonkey/mozilla/xpinstall/src/ScheduledTasks.cpp", line 444: Warning: String literal converted to char* in formal argument name in call to NR_RegSetEntry(void*, int, char*, unsigned short, void*, unsigned).
"/export/home/timeless/Desktop/0/var/www/html/mxr/lxr-root/lxr-data/seamonkey/mozilla/xpinstall/src/ScheduledTasks.cpp", line 572: Warning: String literal converted to char* in formal argument name in call to NR_RegGetEntry(void*, int, char*, void*, unsigned*).
"/export/home/timeless/Desktop/0/var/www/html/mxr/lxr-root/lxr-data/seamonkey/mozilla/xpinstall/src/ScheduledTasks.cpp", line 576: Warning: String literal converted to char* in formal argument name in call to NR_RegGetEntry(void*, int, char*, void*, unsigned*).


"/export/home/timeless/Desktop/0/var/www/html/mxr/lxr-root/lxr-data/seamonkey/mozilla/xpinstall/src/nsInstallResources.cpp", line 90: Warning: String literal converted to char* in initialization.
"/export/home/timeless/Desktop/0/var/www/html/mxr/lxr-root/lxr-data/seamonkey/mozilla/xpinstall/cleanup/InstallCleanup.cpp", line 79: Warning: String literal converted to char* in formal argument name in call to NR_RegGetEntry(void*, int, char*, void*, unsigned*).
"/export/home/timeless/Desktop/0/var/www/html/mxr/lxr-root/lxr-data/seamonkey/mozilla/xpinstall/cleanup/InstallCleanup.cpp", line 97: Warning: String literal converted to char* in formal argument path in call to NR_RegDeleteKey(void*, int, char*).
(Assignee)

Comment 1

11 years ago
Created attachment 238386 [details] [diff] [review]
constify

i can fix the whitespace if necessary, i'd probably fix most cases by moving to one parameter per line for function declarations.
Attachment #238386 - Flags: superreview?
Attachment #238386 - Flags: review?
(Assignee)

Updated

11 years ago
Attachment #238386 - Flags: superreview?(dveditz)
Attachment #238386 - Flags: superreview?
Attachment #238386 - Flags: review?(dveditz)
Attachment #238386 - Flags: review?
Comment on attachment 238386 [details] [diff] [review]
constify

All this stuff is getting ripped out, clearing requests
Attachment #238386 - Flags: superreview?(dveditz)
Attachment #238386 - Flags: review?(dveditz)
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.