Skip to content

Commit b57de21

Browse files
committed
Fix a few warnings
1 parent f7ae4dd commit b57de21

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

src/builder.vala

+4-5
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ namespace Wixl {
7171
return elems;
7272
}
7373

74-
public void add_custom_actions<G> (MsiTableSequence table) {
75-
}
76-
7774
delegate void AddSequence (string action, int sequence) throws GLib.Error;
7875

7976
private void sequence_actions () throws GLib.Error {
@@ -205,8 +202,10 @@ namespace Wixl {
205202
string[] secureProperties;
206203

207204
public void property_update () throws GLib.Error {
208-
var prop = string.joinv (";", secureProperties);
209-
db.table_property.add ("SecureCustomProperties", prop);
205+
if (secureProperties.length != 0) {
206+
var prop = string.joinv (";", secureProperties);
207+
db.table_property.add ("SecureCustomProperties", prop);
208+
}
210209
}
211210

212211
public MsiDatabase build () throws GLib.Error {

src/msi.vala

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ namespace Wixl {
120120
}
121121
}
122122

123-
public void add_sorted_actions () {
123+
public void add_sorted_actions () throws GLib.Error {
124124
add_implicit_deps ();
125125
var sorted = sort_topological ();
126126

src/wixl.vala

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ namespace Wixl {
7878
return 0;
7979

8080
if (verbose)
81-
print ("Building %s...\n", files[0]);
81+
print ("Building %s...\n", output);
8282
var msi = builder.build ();
8383
msi.build (output);
8484
} catch (GLib.Error error) {

0 commit comments

Comments
 (0)